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]
|
||||
Description=RustDesk Signal Server
|
||||
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__
|
||||
Restart=always
|
||||
StandardOutput=append:/var/log/rustdesk/signalserver.log
|
||||
StandardError=append:/var/log/rustdesk/signalserver.error
|
||||
ExecStart=__INSTALL_DIR__/hbbs -r 127.0.0.1 -p __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
|
||||
WantedBy=multi-user.target
|
|
@ -7,7 +7,7 @@ User=__APP__
|
|||
Group=__APP__
|
||||
LimitNOFILE=1000000
|
||||
WorkingDirectory=__INSTALL_DIR__/
|
||||
ExecStart=__INSTALL_DIR__/hbbr
|
||||
ExecStart=__INSTALL_DIR__/hbbr -p __PORT_HBBR__
|
||||
Restart=always
|
||||
StandardOutput=append:/var/log/rustdesk/relayserver.log
|
||||
StandardError=append:/var/log/rustdesk/relayserver.error
|
||||
|
|
Loading…
Reference in a new issue