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