aboutsummaryrefslogtreecommitdiffstats
path: root/del-service
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2011-01-25 12:42:34 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2011-01-25 12:42:34 +0000
commitee84369f0933d54f563bc6566e8dcf4fc34e0ac4 (patch)
tree8cb0c294ca70df34a2ffad121203c97c117dbcd5 /del-service
parent6c0b07fc559eedfa72a412fc6cdb4ff7d5e1fcef (diff)
downloadrpm-helper-ee84369f0933d54f563bc6566e8dcf4fc34e0ac4.tar
rpm-helper-ee84369f0933d54f563bc6566e8dcf4fc34e0ac4.tar.gz
rpm-helper-ee84369f0933d54f563bc6566e8dcf4fc34e0ac4.tar.bz2
rpm-helper-ee84369f0933d54f563bc6566e8dcf4fc34e0ac4.tar.xz
rpm-helper-ee84369f0933d54f563bc6566e8dcf4fc34e0ac4.zip
Reload systemd daemon when removing services.
Diffstat (limited to 'del-service')
-rwxr-xr-xdel-service1
1 files changed, 1 insertions, 0 deletions
diff --git a/del-service b/del-service
index 89303f3..19a5953 100755
--- a/del-service
+++ b/del-service
@@ -26,6 +26,7 @@ if [ $num = 0 ]; then
# support for systemd
if [ -x /bin/systemctl ];
/bin/systemctl disable ${srv}.service > /dev/null 2>&1
+ /bin/systemctl daemon-reload
fi
/sbin/chkconfig --del $srv
fi