]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Fix wallabag activation script
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 14 Apr 2019 17:24:59 +0000 (19:24 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 14 Apr 2019 17:24:59 +0000 (19:24 +0200)
nixops/modules/websites/tools/tools/wallabag.nix

index 03779fef0623ef8e20c8aa5ba79ba8297a75dab7..0b28ccb9d3a046f7bc64b5cefede9dffe7ec17e4 100644 (file)
@@ -117,6 +117,7 @@ let
           "${webappDir}" != "$(cat ${varDir}/currentWebappDir 2>/dev/null)" ]; then
         pushd ${webappDir} > /dev/null
         $wrapperDir/sudo -u wwwrun ./bin/console --env=prod cache:clear
+        rm -rf /var/lib/wallabag/var/cache/pro_
         $wrapperDir/sudo -u wwwrun ./bin/console --env=prod doctrine:migrations:migrate --no-interaction
         popd > /dev/null
         echo -n "${webappDir}" > ${varDir}/currentWebappDir