refactor
This commit is contained in:
parent
2ff3b24b33
commit
e07d0b3b25
@ -7,7 +7,9 @@ After=systemd-user-sessions.service
|
|||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/rustdesk --service
|
ExecStart=/usr/bin/rustdesk --service
|
||||||
# kill --tray and --server both
|
# 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
|
PIDFile=/run/rustdesk.pid
|
||||||
KillMode=mixed
|
KillMode=mixed
|
||||||
TimeoutStopSec=30
|
TimeoutStopSec=30
|
||||||
|
Loading…
x
Reference in New Issue
Block a user