package(tubesync): allow redis access to run directory
This commit is contained in:
parent
dae61762be
commit
9ae717566b
1 changed files with 3 additions and 0 deletions
|
@ -146,6 +146,9 @@ in {
|
||||||
tubesync-worker = recursiveUpdate (base' "worker") ({
|
tubesync-worker = recursiveUpdate (base' "worker") ({
|
||||||
serviceConfig.ExecStart = "${cfg.package}/bin/tubesync-worker";
|
serviceConfig.ExecStart = "${cfg.package}/bin/tubesync-worker";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
# allow binding to unix socket
|
||||||
|
redis-tubesync-celery.serviceConfig.ReadWritePaths = [ "${cfg.stateDir}/run" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.redis.servers.tubesync-celery = {
|
services.redis.servers.tubesync-celery = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue