mirror of
https://git.wownero.com/dsc/ansible-remote-node.git
synced 2024-08-15 01:03:28 +00:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue