Add `Restart=always` to systemd unit

Without this, systemd won't restart the daemon if it is killed by OOM
killer.
xmrpm
Matt Smith 3 years ago
parent 0aa9f936dd
commit 1985aba322
Signed by untrusted user: asymptotically
GPG Key ID: 5162D20F840BDEF3

@ -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…
Cancel
Save