mirror of
https://github.com/YunoHost-Apps/rustdesk-server_ynh.git
synced 2024-09-03 20:16:24 +02:00
18 lines
No EOL
415 B
Desktop File
18 lines
No EOL
415 B
Desktop File
[Unit]
|
|
Description=Rustdesk Relay Server
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=__APP__
|
|
Group=__APP__
|
|
LimitNOFILE=1000000
|
|
ExecStart=__INSTALL_DIR__/hbbr -p __PORT_HBBR__
|
|
WorkingDirectory=__INSTALL_DIR__/
|
|
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 |