Trying to restart xrdp-sesman.service won't work either.

Have to come up with something more explicit.
This commit is contained in:
Bojan Smojver 2012-05-26 09:13:03 +10:00
parent 182f0e85f2
commit 9c41b862e1

View File

@ -118,7 +118,6 @@ fi
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
if [ $1 -ge 1 ] ; then
# Package upgrade, not uninstall
/bin/systemctl try-restart xrdp-sesman.service >/dev/null 2>&1 || :
/bin/systemctl try-restart xrdp.service >/dev/null 2>&1 || :
fi
@ -130,7 +129,6 @@ fi
# Run these because the SysV package being removed won't do them
/sbin/chkconfig --del xrdp >/dev/null 2>&1 || :
/bin/systemctl try-restart xrdp-sesman.service >/dev/null 2>&1 || :
/bin/systemctl try-restart xrdp.service >/dev/null 2>&1 || :