mirror of
https://github.com/YunoHost-Apps/rustdesk-server_ynh.git
synced 2024-09-03 20:16:24 +02:00
Update rustdesk-server.service
This commit is contained in:
parent
f10b031f17
commit
fba76c4db7
1 changed files with 5 additions and 4 deletions
|
@ -6,12 +6,13 @@ Type=simple
|
|||
User=__APP__
|
||||
Group=__APP__
|
||||
LimitNOFILE=1000000
|
||||
WorkingDirectory=__INSTALL_DIR__/
|
||||
ExecStart=__INSTALL_DIR__/hbbr -p __PORT_HBBR__
|
||||
WorkingDirectory=__INSTALL_DIR__/
|
||||
Restart=always
|
||||
StandardOutput=append:/var/log/rustdesk/relayserver.log
|
||||
StandardError=append:/var/log/rustdesk/relayserver.error
|
||||
#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
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Reference in a new issue