mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-02-17 14:07:28 +08:00
refactor
This commit is contained in:
@@ -7,7 +7,9 @@ After=systemd-user-sessions.service
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/rustdesk --service
|
||||
# kill --tray and --server both
|
||||
ExecStop=pkill -f "rustdesk --"
|
||||
# ExecStop=pkill -f "rustdesk --"
|
||||
ExecStop=pkill -f "rustdesk --tray"
|
||||
ExecStop=pkill -f "rustdesk --server"
|
||||
PIDFile=/run/rustdesk.pid
|
||||
KillMode=mixed
|
||||
TimeoutStopSec=30
|
||||
|
||||
Reference in New Issue
Block a user