mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2024-11-23 19:49:20 +08:00
21 lines
405 B
Desktop File
21 lines
405 B
Desktop File
|
|
[Unit]
|
|
Description=Rustdesk Relay Server
|
|
|
|
[Service]
|
|
Type=simple
|
|
LimitNOFILE=1000000
|
|
ExecStart=/usr/bin/hbbr
|
|
WorkingDirectory=/var/lib/rustdesk-server/
|
|
User=
|
|
Group=
|
|
Restart=always
|
|
StandardOutput=append:/var/log/rustdesk-server/hbbr.log
|
|
StandardError=append:/var/log/rustdesk-server/hbbr.error
|
|
# Restart service after 10 seconds if node service crashes
|
|
RestartSec=10
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|