Add `Restart=always` to systemd unit
Without this, systemd won't restart the daemon if it is killed by OOM killer.
This commit is contained in:
parent
0aa9f936dd
commit
1985aba322
|
@ -11,6 +11,7 @@ StateDirectory=wownero
|
||||||
LogsDirectory=wownero
|
LogsDirectory=wownero
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart={{ wownerod_path }} --config-file /etc/wownerod.conf --non-interactive
|
ExecStart={{ wownerod_path }} --config-file /etc/wownerod.conf --non-interactive
|
||||||
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue