mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-08-06 06:07:29 +02:00
add same workaround to updater startup script
This commit is contained in:
parent
bab03ea516
commit
fb219848b6
@ -30,4 +30,9 @@ while [ ! -s $DST_DIR/config.php -a -e $DST_DIR/.app_is_ready ]; do
|
|||||||
sleep 3
|
sleep 3
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# this is some next level bullshit
|
||||||
|
# - https://stackoverflow.com/questions/65622914/why-would-i-get-a-php-pdoexception-complaining-that-it-cant-make-a-postgres-con
|
||||||
|
# - fatal error: could not open certificate file "/root/.postgresql/postgresql.crt": Permission denied
|
||||||
|
chown -R app:app /root # /.postgresql
|
||||||
|
|
||||||
sudo -E -u app "${TTRSS_PHP_EXECUTABLE}" $APP_INSTALL_BASE_DIR/tt-rss/update_daemon2.php "$@"
|
sudo -E -u app "${TTRSS_PHP_EXECUTABLE}" $APP_INSTALL_BASE_DIR/tt-rss/update_daemon2.php "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user