mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-21 07:57:50 +08:00
18 lines
311 B
Desktop File
18 lines
311 B
Desktop File
[Unit]
|
|
Description=RustDesk
|
|
Requires=network.target
|
|
After=systemd-user-sessions.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/bin/rustdesk --service
|
|
ExecStop=pkill -f "rustdesk --tray"
|
|
PIDFile=/run/rustdesk.pid
|
|
KillMode=mixed
|
|
TimeoutStopSec=30
|
|
User=root
|
|
LimitNOFILE=100000
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|