rkvm/systemd/rkvm-client.service
Lin Jian cc58da2987
Fix systemd services
- a server should be after network.target instead of
network-online.target[1]
- a client should also pull in network-online.target[1]
- the manual mentions StartLimitIntervalSec=0 but not
StartLimitBurst=0[2]

[1]: man systemd.special
[2]: man systemd.unit
2023-09-24 15:38:24 +08:00

14 lines
311 B
Desktop File

[Unit]
Description=rkvm client
Wants=network-online.target
After=network-online.target
# This prevents systemd from giving up trying to restart the service.
StartLimitIntervalSec=0
[Service]
ExecStart=/usr/bin/rkvm-client /etc/rkvm/client.toml
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target