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:
Matt Smith 2021-04-14 10:36:12 +01:00
parent 0aa9f936dd
commit 1985aba322
No known key found for this signature in database
GPG Key ID: 5162D20F840BDEF3
1 changed files with 1 additions and 0 deletions

View File

@ -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