mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-02-17 22:11:30 +08:00
fix --server not killed after service stop or uninstallation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user