fix(tubesync): create run directory pre-startup
This commit is contained in:
parent
728cf4ad3b
commit
05008c45c3
|
@ -127,6 +127,7 @@ in {
|
||||||
ExecStartPre = pkgs.writeShellScript "tubesync-setup" ''
|
ExecStartPre = pkgs.writeShellScript "tubesync-setup" ''
|
||||||
set -xe
|
set -xe
|
||||||
tubesync-migrate
|
tubesync-migrate
|
||||||
|
mkdir -p "${cfg.stateDir}/run"
|
||||||
|
|
||||||
mkdir -p "/tmp/tubesync"
|
mkdir -p "/tmp/tubesync"
|
||||||
cp -r "${cfg.package.app}/static/." "/tmp/tubesync/static"
|
cp -r "${cfg.package.app}/static/." "/tmp/tubesync/static"
|
||||||
|
|
Loading…
Reference in a new issue