1
0
Fork 0
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:
Éric Gaspar 2023-10-31 23:15:47 +01:00
parent f10b031f17
commit fba76c4db7

View file

@ -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