This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
389-admin/f15-disable-systemd.patch
Rich Megginson 1a24529c11 Disable the use of systemd for the initscripts
For now, in f15, just disable the use of the systemd wrapper.
2011-04-27 18:58:44 -06:00

14 lines
422 B
Diff

diff --git a/wrappers/initscript.in b/wrappers/initscript.in
index 82dd20e..ec3e5e1 100644
--- a/wrappers/initscript.in
+++ b/wrappers/initscript.in
@@ -8,6 +8,9 @@
# piddir: @localstatedir@/run/@PACKAGE_BASE_NAME@
#
+# Avoid using systemd for now
+SYSTEMCTL_SKIP_REDIRECT=1 ; export SYSTEMCTL_SKIP_REDIRECT
+
# Source function library.
if [ -f /etc/rc.d/init.d/functions ] ; then
. /etc/rc.d/init.d/functions