You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
594 B
16 lines
594 B
# Please do not manually call this file!
|
|
|
|
# Have supervisor manage the apache process instead
|
|
service apache2 stop
|
|
|
|
# Make sure I have permissions to the volumes
|
|
chown root:www-data -R /var/www/lychee/data
|
|
chown root:www-data -R /var/www/lychee/uploads
|
|
chmod 770 /var/www/lychee/uploads
|
|
chmod 770 /var/www/lychee/data
|
|
|
|
# Here is a good point to run database migrations (before the webserver is started up by supervisord)
|
|
#/usr/bin/php /var/www/lychee/scripts/migrate.php
|
|
|
|
# Start supervisord to manage all processes and tye up the FG process for the docker container.
|
|
/usr/local/bin/supervisord |