]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/replicate.init.erb
Fix pid file handling for tile services
[chef.git] / cookbooks / tile / templates / default / replicate.init.erb
index d2200f87ac13020faca541236e004d4949d0235f..b7c6220fb01d0b629f5d31e3e05934411df78da3 100644 (file)
@@ -3,11 +3,11 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
 start() {
-  start-stop-daemon --start --chuid tile --background --make-pidfile -pidfile /var/run/replicate.pid --exec /usr/local/bin/replicate
+  start-stop-daemon --start --chuid tile --background --make-pidfile --pidfile /var/run/replicate.pid --exec /usr/local/bin/replicate
 }
 
 stop() {
-  start-stop-daemon --stop --retry 300 --pidfile /var/run/replicate.pid --exec /usr/local/bin/replicate
+  start-stop-daemon --stop --retry 300 --pidfile /var/run/replicate.pid
 }
 
 case "$1" in