Merge pull request #48 from linj-fork/fix-systemd-conf

Fix systemd services
This commit is contained in:
htrefil 2023-10-11 09:23:28 +02:00 committed by GitHub
commit 2a1b48ac31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -1,8 +1,9 @@
[Unit]
Description=rkvm client
Wants=network-online.target
After=network-online.target
# This prevents systemd from giving up trying to restart the service.
StartLimitBurst=0
StartLimitIntervalSec=0
[Service]
ExecStart=/usr/bin/rkvm-client /etc/rkvm/client.toml

View file

@ -1,6 +1,6 @@
[Unit]
Description=rkvm server
After=network-online.target
After=network.target
[Service]
ExecStart=/usr/bin/rkvm-server /etc/rkvm/server.toml