mirror of
https://github.com/YunoHost-Apps/rustdesk-server_ynh.git
synced 2024-09-03 20:16:24 +02:00
18 lines
396 B
SYSTEMD
18 lines
396 B
SYSTEMD
|
[Unit]
|
||
|
Description=Rustdesk Relay Server
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
LimitNOFILE=1000000
|
||
|
ExecStart=rustdesk-server/hbbr
|
||
|
WorkingDirectory=rustdesk-server/
|
||
|
User=__APP__
|
||
|
Group=__APP__
|
||
|
Restart=always
|
||
|
StandardOutput=append:rustdesk-server/hbbr.log
|
||
|
StandardError=append:rustdesk-server/hbbr.error
|
||
|
# Restart service after 10 seconds if node service crashes
|
||
|
RestartSec=10
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|