/etc/init/mod-gearman-worker.conf is in mod-gearman-worker 1.5.5-1+b3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # -*- upstart -*-
# Upstart configuration script for "mod-gearman-worker".
description "mod_gearman workers"
start on (filesystem and net-device-up IFACE=lo)
stop on runlevel [!2345]
respawn
exec start-stop-daemon --start --chuid nagios --exec /usr/sbin/mod_gearman_worker -- --config=/etc/mod-gearman/worker.conf
post-stop script
pkill -9 -u nagios -f mod_gearman_worker || true
end script
|