nixos/beanstalkd: keep jobs in persistent storage (#73884)
This commit is contained in:
parent
1488f7cba1
commit
7b9c17c475
1 changed files with 2 additions and 1 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue