Commit Graph

11 Commits

Author SHA1 Message Date
Jakob Ackermann e83b7856c3 [init] bail out in case the db access fails (#123)
* [init] bail out in case the db access fails

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [misc] bail out in case any command in an init_script failed

NOTE: sh does not support `-o pipefail`.

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-02-13 13:33:55 +01:00
Jakob Ackermann f2ee880549 [misc] narrow down the rw accessible directories for the run user (#119) 2020-01-29 12:14:32 +01:00
Miguel Serrano 3781585862 Set CRYPTO_RANDOM as environment variable at startup time (#134) 2020-01-28 07:16:23 +01:00
Henry Oswald 4283bde9c0 chown /var/www/ to www-data 2016-12-19 14:17:39 +00:00
ShareLaTeX 1fca735f02 added check db init script 2016-09-21 17:10:27 +00:00
Henry Oswald 1d80ac6b7a added dump folder and template files fix to init script 2016-07-14 16:50:11 +01:00
Henry Oswald eef4982698 add echo for finished migrations in 2016-06-30 16:47:35 +01:00
Henry Oswald d39b66f32e add permissions change for templates dir 2016-06-30 16:47:23 +01:00
ShareLaTeX 3c46fbf2e1 touch sqlite file if it does not exist 2016-06-23 22:07:30 +00:00
Henry Oswald c0090fcc22 run everything as www-data 2016-05-27 15:46:51 +01:00
Henry Oswald 4464bf7893 move init scripts to init dir 2016-05-23 12:43:26 +01:00