File 0001-init_fhs.patch of Package 389-ds.8204
diff -Ppru 389-ds-base-1.3.2.11.orig/wrappers/initscript.in 389-ds-base-1.3.2.11.init/wrappers/initscript.in
--- 389-ds-base-1.3.2.11.orig/wrappers/initscript.in 2014-02-05 22:27:04.000000000 +0100
+++ 389-ds-base-1.3.2.11.init/wrappers/initscript.in 2014-02-17 11:55:35.714453084 +0100
@@ -9,6 +9,16 @@
# piddir: @localstatedir@/run/@package_name@
# datadir: @localstatedir@/lib/@package_name@/slapd-<instance name>
#
+### BEGIN INIT INFO
+# Provides: @package_name@
+# Required-Start: $network $named $syslog $time $remote_fs
+# Should-Start:
+# Required-Stop: $network $named $syslog $time $remote_fs
+# Should-Stop:
+# Default-Start: 3 5
+# Default-Stop:
+# Description: This starts and stops @package_name@
+### END INIT INFO
# Source function library.
if [ -f /etc/rc.d/init.d/functions ] ; then
diff -Ppru 389-ds-base-1.3.2.11.orig/wrappers/ldap-agent-initscript.in 389-ds-base-1.3.2.11.init/wrappers/ldap-agent-initscript.in
--- 389-ds-base-1.3.2.11.orig/wrappers/ldap-agent-initscript.in 2014-02-05 22:27:04.000000000 +0100
+++ 389-ds-base-1.3.2.11.init/wrappers/ldap-agent-initscript.in 2014-02-17 11:55:34.182511462 +0100
@@ -8,6 +8,16 @@
# config: @sysconfdir@/@package_name@/config/ldap-agent.conf
# pidfile: @localstatedir@/run/ldap-agent.pid
#
+### BEGIN INIT INFO
+# Provides: @package_name@-snmp
+# Required-Start: $network $named $syslog $time $remote_fs
+# Should-Start:
+# Required-Stop: $network $named $syslog $time $remote_fs
+# Should-Stop:
+# Default-Start: 3 5
+# Default-Stop:
+# Description: @capbrand@ Directory Server SNMP Subagent
+### END INIT INFO
# Source function library.
if [ -f /etc/rc.d/init.d/functions ] ; then