fix --server not killed after service stop or uninstallation
This commit is contained in:
parent
115fb05c85
commit
2ff3b24b33
@ -6,7 +6,8 @@ After=systemd-user-sessions.service
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/rustdesk --service
|
||||
ExecStop=pkill -f "rustdesk --tray"
|
||||
# kill --tray and --server both
|
||||
ExecStop=pkill -f "rustdesk --"
|
||||
PIDFile=/run/rustdesk.pid
|
||||
KillMode=mixed
|
||||
TimeoutStopSec=30
|
||||
|
Loading…
x
Reference in New Issue
Block a user