]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/update-lowzoom.init.erb
Convert update-lowzoom service to a systemd unit
[chef.git] / cookbooks / tile / templates / default / update-lowzoom.init.erb
diff --git a/cookbooks/tile/templates/default/update-lowzoom.init.erb b/cookbooks/tile/templates/default/update-lowzoom.init.erb
deleted file mode 100644 (file)
index 8fe1fa3..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/bash
-
-# DO NOT EDIT - This file is being maintained by Chef
-
-start() {
-  start-stop-daemon --start --chuid tile --background --make-pidfile --pidfile /var/run/update-lowzoom-<%= @style %>.pid --exec /usr/local/bin/update-lowzoom-<%= @style %>
-}
-
-stop() {
-  start-stop-daemon --stop --retry 300 --pidfile /var/run/update-lowzoom-<%= @style %>.pid
-}
-
-case "$1" in
-  start)
-    start
-    ;;
-  stop)
-    stop
-    ;;
-  restart)
-    stop
-    start
-    ;;
-esac