systemd: Set Restart=on-failure
This commit is contained in:
parent
c0a1431f78
commit
509ea8745a
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ After=network-online.target nss-lookup.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=exec
|
Type=exec
|
||||||
ExecStart=/usr/bin/ddclient --daemon 5m --foreground
|
ExecStart=/usr/bin/ddclient --daemon 5m --foreground
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in a new issue