X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/c1fa3b8ab16ee50ccb201038cf7ea675c23113a3..43b1dc052637e2bf65ef0db17a78c9ded4054d13:/cookbooks/nominatim/templates/default/updater.init.erb diff --git a/cookbooks/nominatim/templates/default/updater.init.erb b/cookbooks/nominatim/templates/default/updater.init.erb deleted file mode 100644 index cafc8255e..000000000 --- a/cookbooks/nominatim/templates/default/updater.init.erb +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -# DO NOT EDIT - This file is being maintained by Chef - -start() { - start-stop-daemon --start --chuid nominatim --background --make-pidfile --pidfile /var/run/nominatim-update.pid --exec <%= @source_directory %>/utils/nominatim-update -} - -stop() { - start-stop-daemon --stop --retry 3600 --pidfile /var/run/nominatim-update.pid -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart) - stop || exit $? - start - ;; -esac -