mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-10-22 20:13:11 +00:00
upstart: Remove notifyd upstart unit
Hopefully this is last upstart bit. Signed-off-by: Jan Friesse <jfriesse@redhat.com> Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
This commit is contained in:
parent
137b31397c
commit
0031822c68
@ -35,7 +35,7 @@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
EXTRA_DIST = corosync.in corosync-notifyd.in corosync.service.in \
|
||||
corosync-notifyd.service.in corosync-notifyd.conf.in \
|
||||
corosync-notifyd.service.in \
|
||||
corosync.sysconfig.example
|
||||
|
||||
if INSTALL_SYSTEMD
|
||||
|
@ -1,34 +0,0 @@
|
||||
# corosync-notifyd - Corosync Dbus and snmp notifier
|
||||
#
|
||||
# Starts corosync-notifyd
|
||||
|
||||
expect fork
|
||||
respawn
|
||||
|
||||
env prog=corosync-notifyd
|
||||
env initconf=@INITCONFIGDIR@/corosync-notifyd
|
||||
env rpm_lockfile=@LOCALSTATEDIR@/lock/subsys/corosync-notifyd
|
||||
env deb_lockfile=@LOCALSTATEDIR@/lock/corosync-notifyd
|
||||
|
||||
script
|
||||
[ -f "$initconf" ] && . $initconf
|
||||
exec $prog $OPTIONS
|
||||
end script
|
||||
|
||||
pre-start script
|
||||
mkdir -p @LOCALSTATEDIR@/run
|
||||
end script
|
||||
|
||||
post-start script
|
||||
[ -f "$initconf" ] && . $initconf
|
||||
[ -z "$LOCK_FILE" -a -d @SYSCONFDIR@/sysconfig ] && LOCK_FILE="$rpm_lockfile"
|
||||
[ -z "$LOCK_FILE" -a -d @SYSCONFDIR@/default ] && LOCK_FILE="$deb_lockfile"
|
||||
touch $LOCK_FILE
|
||||
end script
|
||||
|
||||
post-stop script
|
||||
[ -f "$initconf" ] && . $initconf
|
||||
[ -z "$LOCK_FILE" -a -d @SYSCONFDIR@/sysconfig ] && LOCK_FILE="$rpm_lockfile"
|
||||
[ -z "$LOCK_FILE" -a -d @SYSCONFDIR@/default ] && LOCK_FILE="$deb_lockfile"
|
||||
rm -f $LOCK_FILE
|
||||
end script
|
Loading…
Reference in New Issue
Block a user