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
Robert Kaussow 1a40a2dcdc
All checks were successful
continuous-integration/drone/push Build is passing
small optimizations
2019-07-03 09:04:01 +02:00

12 lines
394 B
Bash
Executable File

#!/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
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
s6-setuidgid nginx php7 /var/www/app/docker_setup.php
exec /bin/s6-svscan /etc/services.d