aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/functions
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d/functions')
-rw-r--r--rc.d/init.d/functions5
1 files changed, 4 insertions, 1 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 43b3abe4..48fa2c01 100644
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -51,7 +51,10 @@ systemctl_redirect () {
esac
if [ -n "$SYSTEMCTL_IGNORE_DEPENDENCIES" ] ; then
- options="--ignore-dependencies"
+ options="$options --ignore-dependencies"
+ fi
+ if [ -n "$SYSTEMCTL_NO_BLOCK" ] ; then
+ options="$options --no-block"
fi
action "$s" /bin/systemctl $options $command "$prog.service"