git.iko.soy/typeable/nixpkgs
on master help sign in
dspam service: restart on failure
commitccece1ca88cac4f665cb956164de48eadd2c3907 authorNikolay Amiantov <ab@fmap.me> dateThu 11 Feb 2016, 13:46 (11 years ago) parentfc84ee2
1 file changed+3
nixos/modules/services/mail/dspam.nix+3
nixos/modules/services/mail/dspam.nix+3
@@ -109,6 +109,9 @@ in {
109109 Group = cfg.group;
110110 RuntimeDirectory = optional (cfg.domainSocket == defaultSock) "dspam";
111111 PermissionsStartOnly = true;
112+ # DSPAM segfaults on just about every error
113+ Restart = "on-failure";
114+ RestartSec = "1s";
112115 };
113116
114117 preStart = ''