mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-11 09:49:11 +08:00
17 lines
279 B
SYSTEMD
17 lines
279 B
SYSTEMD
|
[Unit]
|
||
|
Description=RustDesk
|
||
|
Requires=network.target
|
||
|
After=systemd-user-sessions.service
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
ExecStart=/usr/bin/rustdesk --service
|
||
|
PIDFile=/var/run/rustdesk.pid
|
||
|
KillMode=mixed
|
||
|
TimeoutStopSec=30
|
||
|
User=root
|
||
|
LimitNOFILE=100000
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|