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