mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-27 14:59:02 +08:00
fix service unit again
This commit is contained in:
parent
abbd4c8934
commit
b471b934f2
@ -7,9 +7,10 @@ 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 --tray"
|
||||
ExecStop=pkill -f "rustdesk --server"
|
||||
ExecStop=pkill -f "rustdesk --"
|
||||
# below two lines do not work, have to use above one line
|
||||
#ExecStop=pkill -f "rustdesk --tray"
|
||||
#ExecStop=pkill -f "rustdesk --server"
|
||||
PIDFile=/run/rustdesk.pid
|
||||
KillMode=mixed
|
||||
TimeoutStopSec=30
|
||||
|
Loading…
Reference in New Issue
Block a user