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]
|
||||
Type=exec
|
||||
ExecStart=/usr/bin/ddclient --daemon 5m --foreground
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue