mode 0755
end
-#service "gps-update" do
-# action [ :enable, :start ]
-# supports :restart => true
-# subscribes :restart, "git[/srv/gps-tile.openstreetmap.org/updater]"
-#end
+service "gps-update" do
+ action [ :enable, :start ]
+ supports :restart => true
+ subscribes :restart, "git[/srv/gps-tile.openstreetmap.org/updater]"
+end
remote_directory "/srv/gps-tile.openstreetmap.org/html" do
source "html"
# DO NOT EDIT - This file is being maintained by Chef
start() {
- start-stop-daemon --start --chuid gpstile --chdir /srv/gps-tile.openstreetmap.org --background --make-pidfile --pidfile /var/run/gps-update.pid --exec /src/gps-tile.openstreetmap.org/updater/update
+ start-stop-daemon --start --chuid gpstile --chdir /srv/gps-tile.openstreetmap.org --background --make-pidfile --pidfile /var/run/gps-update.pid --exec /srv/gps-tile.openstreetmap.org/updater/update
}
stop() {