+template "/etc/mediawiki/parsoid/settings.js" do
+ source "parsoid-settings.js.erb"
+ owner "root"
+ group "root"
+ mode 0o644
+end
+
+service "parsoid" do
+ action [:enable]
+ supports :status => false, :restart => true, :reload => false
+ subscribes :restart, "template[/etc/mediawiki/parsoid/settings.js]"
+end
+