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
398 B
SYSTEMD
Raw Normal View History

2023-10-29 16:23:32 +01:00
[Unit]
Description=Rustdesk Relay Server
[Service]
Type=simple
2023-10-29 16:27:43 +01:00
User=__APP__
Group=__APP__
2023-10-29 16:23:32 +01:00
LimitNOFILE=1000000
2023-10-31 22:27:47 +01:00
WorkingDirectory=__INSTALL_DIR__/
2023-10-31 23:01:02 +01:00
ExecStart=__INSTALL_DIR__/hbbr
2023-10-29 16:23:32 +01:00
Restart=always
2023-10-31 23:01:02 +01:00
#StandardOutput=append:__INSTALL_DIR__/hbbr.log
#StandardError=append:__INSTALL_DIR__/hbbr.error
2023-10-29 16:23:32 +01:00
# Restart service after 10 seconds if node service crashes
RestartSec=10
[Install]
WantedBy=multi-user.target