]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/gps-tile/templates/default/update.init.erb
Update carto stylesheet to v2.32.0
[chef.git] / cookbooks / gps-tile / templates / default / update.init.erb
index 95aeeebd6ff93f56493c501a70b814e8ef5864c6..1cf851d2bb2ca2d97d8e772ec0da0b193eba647f 100644 (file)
@@ -10,6 +10,10 @@ stop() {
   start-stop-daemon --stop --retry 300 --pidfile /var/run/gps-update.pid
 }
 
+status() {
+  start-stop-daemon --status --pidfile /var/run/gps-update.pid
+}
+
 case "$1" in
   start)
     start
@@ -21,4 +25,8 @@ case "$1" in
     stop || exit $?
     start
     ;;
+  status)
+    status
+    exit $?
+    ;;
 esac