Skip to content

Commit

Permalink
Merge pull request #48 from linj-fork/fix-systemd-conf
Browse files Browse the repository at this point in the history
Fix systemd services
  • Loading branch information
htrefil authored Oct 11, 2023
2 parents 9560c76 + cc58da2 commit 2a1b48a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion systemd/rkvm-client.service
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion systemd/rkvm-server.service
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 2a1b48a

Please sign in to comment.