mirror of
https://github.com/YunoHost-Apps/rustdesk-server_ynh.git
synced 2024-09-03 20:16:24 +02:00
fix
This commit is contained in:
parent
1bbf52d993
commit
f10b031f17
2 changed files with 8 additions and 7 deletions
|
@ -1,17 +1,18 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=RustDesk Signal Server
|
Description=Rustdesk Signal Server
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
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 -r 127.0.0.1 -p __PORT_HBBS__
|
||||||
Restart=always
|
#StandardOutput=append:__INSTALL_DIR__/hbbs.log
|
||||||
StandardOutput=append:/var/log/rustdesk/signalserver.log
|
#StandardError=append:__INSTALL_DIR__/hbbs.error
|
||||||
StandardError=append:/var/log/rustdesk/signalserver.error
|
# Restart service after 10 seconds if node service crashes
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
|
@ -7,7 +7,7 @@ User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
LimitNOFILE=1000000
|
LimitNOFILE=1000000
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
ExecStart=__INSTALL_DIR__/hbbr
|
ExecStart=__INSTALL_DIR__/hbbr -p __PORT_HBBR__
|
||||||
Restart=always
|
Restart=always
|
||||||
StandardOutput=append:/var/log/rustdesk/relayserver.log
|
StandardOutput=append:/var/log/rustdesk/relayserver.log
|
||||||
StandardError=append:/var/log/rustdesk/relayserver.error
|
StandardError=append:/var/log/rustdesk/relayserver.error
|
||||||
|
|
Loading…
Reference in a new issue