/etc/init/corosync-notifyd.conf is in corosync-notifyd 2.3.5-3ubuntu1.
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 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | # corosync-notifyd - Corosync Dbus and snmp notifier
#
# Starts corosync-notifyd
expect fork
respawn
env prog=corosync-notifyd
env rpm_sysconf=/etc/sysconfig/corosync-notifyd
env rpm_lockfile=/var/lock/subsys/corosync-notifyd
env deb_sysconf=/etc/default/corosync-notifyd
env deb_lockfile=/var/lock/corosync-notifyd
script
[ -f "$rpm_sysconf" ] && . $rpm_sysconf
[ -f "$deb_sysconf" ] && . $deb_sysconf
exec $prog $OPTIONS
end script
pre-start script
mkdir -p /var/run
end script
post-start script
[ -f "$rpm_sysconf" ] && . $rpm_sysconf
[ -f "$deb_sysconf" ] && . $deb_sysconf
[ -z "$LOCK_FILE" -a -d /etc/sysconfig ] && LOCK_FILE="$rpm_lockfile"
[ -z "$LOCK_FILE" -a -d /etc/default ] && LOCK_FILE="$deb_lockfile"
touch $LOCK_FILE
end script
post-stop script
[ -f "$rpm_sysconf" ] && . $rpm_sysconf
[ -f "$deb_sysconf" ] && . $deb_sysconf
[ -z "$LOCK_FILE" -a -d /etc/sysconfig ] && LOCK_FILE="$rpm_lockfile"
[ -z "$LOCK_FILE" -a -d /etc/default ] && LOCK_FILE="$deb_lockfile"
rm -f $LOCK_FILE
end script
|