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:
Jan Friesse 2018-05-02 11:00:37 +02:00
parent 137b31397c
commit 0031822c68
2 changed files with 1 additions and 35 deletions

View File

@ -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

View File

@ -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