Commit Graph

24 Commits

Author SHA1 Message Date
Benjamin Dauvergne 10c4738d95 Fix typo in the wsgi script path 2014-09-19 16:32:31 +02:00
Benjamin Dauvergne 6bf6880d85 Allow overriding gunicorn bind 2014-09-19 16:13:04 +02:00
Benjamin Dauvergne 10576a8545 In the manage action make sudo conserve the environment 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne 7a458899b6 Make hobo owner of the $TENANT_DIR/media directory 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne c3166ec9be Do collectstatic and apply migrations on reload 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne c1f7792342 Use self manage action to call Django create_schema command 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne 6b63c89fea Show that reload action is supported 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne eef27043ed Get tenant's schema name using get_tenant_by_domain 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne dca8767b37 Rename action create-schema as create-tenant 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne e41955d4b8 Add comment about legacy status of using /etc/portail_citoyen/portail_citoyen2.conf 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne e9161a042d When reloading do collectstatic and apply migrations between stop and start 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne 825c30d55c Reformat and use variables to uniformize with passerelle init.d 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne 6e8123b5e1 In init.d file set name of gunicorn process using setproctitle 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne 9a547f9702 Add support for multi-tenant to init.d 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne e9d72552db Add manage action to init.d 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne 0ba8023950 In init.d copy NAME to USER and GROUP 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne 9f78110e26 Rename PID_DIR to RUN_DIR to uniformize with other packages 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne e8d06fcb11 Reformat init.d 2014-09-19 16:13:03 +02:00
Jérôme Schneider e17dd067cd fixes type on a test 2014-08-12 19:04:06 +02:00
Jérôme Schneider f0723ab489 spport multi tenant syncdb and migration
Closes #4849
2014-08-12 18:57:21 +02:00
Jérôme Schneider 17982e7abb fixes init files 2014-05-22 17:56:27 +02:00
Benjamin Dauvergne fad50324e6 init,postinst: move collectstatic in the init.d file
also activate the reload action
2014-05-22 16:11:28 +02:00
Jérôme Schneider d3a3bb6e7a replace portail-citoyen.conf by portail-citoyen2.conf 2014-04-01 16:28:19 +02:00
Jérôme Schneider ddbd35be26 initial package 2014-04-01 15:59:05 +02:00