aboutsummaryrefslogtreecommitdiffhomepage
path: root/systemd
diff options
context:
space:
mode:
authorbotanicvelious <[email protected]>2023-01-09 20:00:30 -0700
committerGitHub <[email protected]>2023-01-09 20:00:30 -0700
commitf139ad69a16679d0b50d52b94d8e2be81c533eee (patch)
tree77eb4b02070a650efdad99bd4f439a47adc8465c /systemd
parent55fcf241c643d5b90e9ff5d83721c1a35d88d91a (diff)
downloadrustdesk-server-f139ad69a16679d0b50d52b94d8e2be81c533eee.tar.gz
rustdesk-server-f139ad69a16679d0b50d52b94d8e2be81c533eee.zip
add logging to the .service file
Diffstat (limited to 'systemd')
-rw-r--r--systemd/rustdesk-hbbs.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/systemd/rustdesk-hbbs.service b/systemd/rustdesk-hbbs.service
index 16427f1..344f015 100644
--- a/systemd/rustdesk-hbbs.service
+++ b/systemd/rustdesk-hbbs.service
@@ -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