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