diff options
-rw-r--r-- | nixops/modules/websites/tools/tools/wallabag.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixops/modules/websites/tools/tools/wallabag.nix b/nixops/modules/websites/tools/tools/wallabag.nix index 03779fe..0b28ccb 100644 --- a/nixops/modules/websites/tools/tools/wallabag.nix +++ b/nixops/modules/websites/tools/tools/wallabag.nix | |||
@@ -117,6 +117,7 @@ let | |||
117 | "${webappDir}" != "$(cat ${varDir}/currentWebappDir 2>/dev/null)" ]; then | 117 | "${webappDir}" != "$(cat ${varDir}/currentWebappDir 2>/dev/null)" ]; then |
118 | pushd ${webappDir} > /dev/null | 118 | pushd ${webappDir} > /dev/null |
119 | $wrapperDir/sudo -u wwwrun ./bin/console --env=prod cache:clear | 119 | $wrapperDir/sudo -u wwwrun ./bin/console --env=prod cache:clear |
120 | rm -rf /var/lib/wallabag/var/cache/pro_ | ||
120 | $wrapperDir/sudo -u wwwrun ./bin/console --env=prod doctrine:migrations:migrate --no-interaction | 121 | $wrapperDir/sudo -u wwwrun ./bin/console --env=prod doctrine:migrations:migrate --no-interaction |
121 | popd > /dev/null | 122 | popd > /dev/null |
122 | echo -n "${webappDir}" > ${varDir}/currentWebappDir | 123 | echo -n "${webappDir}" > ${varDir}/currentWebappDir |