1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rustdesk-server_ynh.git synced 2024-09-03 20:16:24 +02:00
rustdesk-server_ynh/conf/rustdesk-server.service

18 lines
396 B
SYSTEMD
Raw Normal View History

2023-10-29 16:23:32 +01:00
[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