Use systemctl for gpx-import log rotation
[chef.git] / cookbooks / web / templates / default / logrotate.web.erb
index bc38d45154b42c83d3c3b23baa0e2fab2864e19e..f14a2c1eae2f115e76115d785d8bbcb1d01f849e 100644 (file)
@@ -17,7 +17,7 @@
 <% end -%>
 <% end -%>
 <% if File.directory?("#{node[:web][:base_directory]}/gpx-import") -%>
-    /etc/init.d/gpx-import rotated
+    /bin/systemctl reload gpx-import
 <% end -%>
 <% if File.directory?("#{node[:web][:base_directory]}/cgimap") -%>
     /bin/systemctl reload cgimap