From 0031822c68be1a823a85febb38a80cad29b320a5 Mon Sep 17 00:00:00 2001 From: Jan Friesse Date: Wed, 2 May 2018 11:00:37 +0200 Subject: [PATCH] upstart: Remove notifyd upstart unit Hopefully this is last upstart bit. Signed-off-by: Jan Friesse Reviewed-by: Christine Caulfield --- init/Makefile.am | 2 +- init/corosync-notifyd.conf.in | 34 ---------------------------------- 2 files changed, 1 insertion(+), 35 deletions(-) delete mode 100644 init/corosync-notifyd.conf.in diff --git a/init/Makefile.am b/init/Makefile.am index 019fae76..6fbd676a 100644 --- a/init/Makefile.am +++ b/init/Makefile.am @@ -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 diff --git a/init/corosync-notifyd.conf.in b/init/corosync-notifyd.conf.in deleted file mode 100644 index 168a7817..00000000 --- a/init/corosync-notifyd.conf.in +++ /dev/null @@ -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