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
|
||||
Type=simple
|
||||
ExecStart={{ wownerod_path }} --config-file /etc/wownerod.conf --non-interactive
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in New Issue