mirror of
https://github.com/htrefil/rkvm.git
synced 2024-11-16 07:47:24 +01:00
Merge pull request #48 from linj-fork/fix-systemd-conf
Fix systemd services
This commit is contained in:
commit
2a1b48ac31
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue