Procházet zdrojové kódy

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>
Jan Friesse před 7 roky
rodič
revize
0031822c68
2 změnil soubory, kde provedl 1 přidání a 35 odebrání
  1. 1 1
      init/Makefile.am
  2. 0 34
      init/corosync-notifyd.conf.in

+ 1 - 1
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

+ 0 - 34
init/corosync-notifyd.conf.in

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