rustdesk/res/rustdesk.service

18 lines
311 B
SYSTEMD
Raw Normal View History

2022-04-18 15:37:35 +08:00
[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
2022-04-18 15:37:35 +08:00
KillMode=mixed
TimeoutStopSec=30
User=root
LimitNOFILE=100000
[Install]
WantedBy=multi-user.target