fix(tubesync): allow redis access to run directory
This commit is contained in:
parent
05008c45c3
commit
6409b48cea
|
@ -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…
Reference in a new issue