Restart node processes if journald crashes
Note that we cannot simply ignore EPIPE in the node programs. Doing so results in no logs anymore :-( This is supposedly fixed in systemd 228. Fixes #550
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
Description=Cloudron Admin
|
||||
OnFailure=crashnotifier@%n.service
|
||||
StopWhenUnneeded=true
|
||||
; journald crashes result in a EPIPE in node. Cannot ignore it as it results in loss of logs.
|
||||
BindsTo=systemd-journald.service
|
||||
|
||||
[Service]
|
||||
Type=idle
|
||||
|
||||
Reference in New Issue
Block a user