mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-07 12:20:03 +03: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