summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-02-10 08:56:16 -0500
committerShea Levy <shea@shealevy.com>2014-02-10 08:56:16 -0500
commit42df6fcee920248a1a39b42f914705e32791bd0e (patch)
treeb202967802b0a343e8a70fa4eb027c3c57ef852e /nixos
parente5017d8239f39308c897eadf1d7de8371f5ea55b (diff)
downloadnixlib-42df6fcee920248a1a39b42f914705e32791bd0e.tar
nixlib-42df6fcee920248a1a39b42f914705e32791bd0e.tar.gz
nixlib-42df6fcee920248a1a39b42f914705e32791bd0e.tar.bz2
nixlib-42df6fcee920248a1a39b42f914705e32791bd0e.tar.lz
nixlib-42df6fcee920248a1a39b42f914705e32791bd0e.tar.xz
nixlib-42df6fcee920248a1a39b42f914705e32791bd0e.tar.zst
nixlib-42df6fcee920248a1a39b42f914705e32791bd0e.zip
mediawiki: Run update script after initializing the database
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/web-servers/apache-httpd/mediawiki.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix b/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix
index 423087991e13..a310884525a7 100644
--- a/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix
+++ b/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix
@@ -290,6 +290,7 @@ in
             echo COMMIT
           ) | ${pkgs.postgresql}/bin/psql -U "${config.dbUser}" "${config.dbName}"
       fi
+      ${php}/bin/php ${mediawikiRoot}/maintenance/update.php
     '');
 
   robotsEntries = optionalString (config.articleUrlPrefix != "")