nixos/beanstalkd: keep jobs in persistent storage (#73884)

This commit is contained in:
Aaron Andersen 2019-11-22 04:27:32 -05:00 committed by zimbatm
parent 1488f7cba1
commit 7b9c17c475

View file

@ -44,7 +44,8 @@ in
serviceConfig = {
DynamicUser = true;
Restart = "always";
ExecStart = "${pkg}/bin/beanstalkd -l ${cfg.listen.address} -p ${toString cfg.listen.port}";
ExecStart = "${pkg}/bin/beanstalkd -l ${cfg.listen.address} -p ${toString cfg.listen.port} -b $STATE_DIRECTORY";
StateDirectory = "beanstalkd";
};
};