dspam service: restart on failure
This commit is contained in:
parent
fc84ee22df
commit
ccece1ca88
@ -109,6 +109,9 @@ in {
|
|||||||
Group = cfg.group;
|
Group = cfg.group;
|
||||||
RuntimeDirectory = optional (cfg.domainSocket == defaultSock) "dspam";
|
RuntimeDirectory = optional (cfg.domainSocket == defaultSock) "dspam";
|
||||||
PermissionsStartOnly = true;
|
PermissionsStartOnly = true;
|
||||||
|
# DSPAM segfaults on just about every error
|
||||||
|
Restart = "on-failure";
|
||||||
|
RestartSec = "1s";
|
||||||
};
|
};
|
||||||
|
|
||||||
preStart = ''
|
preStart = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user