This repository has been archived on 2021-12-12. You can view files and clone it, but cannot push or open issues or pull requests.
ttrss/overlay/usr/local/bin/entrypoint.sh

14 lines
488 B
Bash
Raw Normal View History

2019-07-03 07:04:01 +00:00
#!/bin/sh
/usr/local/bin/gomplate -V -o /etc/php7/php.ini -f /etc/templates/php.ini.tmpl
/usr/local/bin/gomplate -V -o /var/www/app/config.php -f /etc/templates/config.php.tmpl
2019-07-02 12:18:08 +00:00
chown -R nginx:nginx /var/www/app/lock
chown -R nginx:nginx /var/www/app/cache
chown -R nginx:nginx /var/www/app/feed-icons
chown -R nginx:nginx /var/www/app/plugins.local
chown -R nginx:nginx /var/www/app/themes.local
2019-07-02 12:18:08 +00:00
s6-setuidgid nginx php /var/www/app/docker_setup.php
2019-07-02 12:18:08 +00:00
exec /bin/s6-svscan /etc/services.d