add logging to the .service file

This commit is contained in:
botanicvelious
2023-01-09 20:00:30 -07:00
committed by GitHub
parent 55fcf241c6
commit f139ad69a1

View File

@@ -10,6 +10,8 @@ WorkingDirectory=/var/lib/rustdesk-server/
User=
Group=
Restart=always
StandardOutput=append:/var/log/rustdesk/rustdesk-hbbs.log
StandardError=append:/var/log/rustdesk/rustdesk-hbbs.error
# Restart service after 10 seconds if node service crashes
RestartSec=10