mirror of
https://github.com/YunoHost-Apps/rustdesk-server_ynh.git
synced 2024-09-03 20:16:24 +02:00
Update rustdesk-hbbs.service
This commit is contained in:
parent
6f6ad0cf44
commit
5b68bafe86
1 changed files with 6 additions and 5 deletions
|
@ -5,13 +5,14 @@ Description=RustDesk Signal Server
|
||||||
Type=simple
|
Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
Restart=always
|
|
||||||
LimitNOFILE=1000000
|
LimitNOFILE=1000000
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
ExecStart=__INSTALL_DIR__/hbbs -r 127.0.0.1:__PORT_HBBS__
|
ExecStart=__INSTALL_DIR__/hbbs -k #-r 127.0.0.1:__PORT_HBBS__
|
||||||
StandardOutput=append:__INSTALL_DIR__/hbbs.log
|
Restart=always
|
||||||
StandardError=append:__INSTALL_DIR__/hbbs.error
|
StandardOutput=append:/var/log/rustdesk/signalserver.log
|
||||||
# Restart service after 10 seconds if node service crashes
|
StandardError=append:/var/log/rustdesk/signalserver.error
|
||||||
|
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in a new issue