Trying to restart xrdp-sesman.service won't work either.
Have to come up with something more explicit.
This commit is contained in:
parent
182f0e85f2
commit
9c41b862e1
@ -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 || :
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user