aboutsummaryrefslogtreecommitdiff
path: root/nixops
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-14 19:24:59 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-14 19:24:59 +0200
commit71daa0766ee1eaab78e77f007ee1a5494b5132ab (patch)
tree85d08888f7fa3c93baf8b3395ef1ea6063af964b /nixops
parent62366a393e343b70571c6cf98ca74e94432b4f10 (diff)
downloadNix-71daa0766ee1eaab78e77f007ee1a5494b5132ab.tar.gz
Nix-71daa0766ee1eaab78e77f007ee1a5494b5132ab.tar.zst
Nix-71daa0766ee1eaab78e77f007ee1a5494b5132ab.zip
Fix wallabag activation script
Diffstat (limited to 'nixops')
-rw-r--r--nixops/modules/websites/tools/tools/wallabag.nix1
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