From c72e624ebb81d4b64115f63dc94e5534b786fe1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 31 Oct 2023 23:04:46 +0100 Subject: [PATCH] Update rustdesk-server.service --- conf/rustdesk-server.service | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/conf/rustdesk-server.service b/conf/rustdesk-server.service index f9ea5c2..3c40696 100644 --- a/conf/rustdesk-server.service +++ b/conf/rustdesk-server.service @@ -7,12 +7,11 @@ User=__APP__ Group=__APP__ LimitNOFILE=1000000 WorkingDirectory=__INSTALL_DIR__/ -ExecStart=__INSTALL_DIR__/hbbr +ExecStart=__INSTALL_DIR__/hbbr -k _ Restart=always -#StandardOutput=append:__INSTALL_DIR__/hbbr.log -#StandardError=append:__INSTALL_DIR__/hbbr.error -# Restart service after 10 seconds if node service crashes +StandardOutput=append:/var/log/rustdesk/relayserver.log +StandardError=append:/var/log/rustdesk/relayserver.error RestartSec=10 [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target