package(tubesync): create run directory pre-startup
This commit is contained in:
parent
5a71752aa0
commit
dae61762be
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue