mirror of
https://github.com/casjaysdevdocker/cherokee
synced 2025-01-18 06:34:33 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
4ee9c66769
commit
e63e6cac74
@ -16,6 +16,7 @@ fi
|
|||||||
[ -d "/config/cherokee" ] && cp -Rf "/config/cherokee/." "/etc/cherokee/" || cp -Rf "/usr/local/share/template-files/config/defaults/" "/etc/cherokee/"
|
[ -d "/config/cherokee" ] && cp -Rf "/config/cherokee/." "/etc/cherokee/" || cp -Rf "/usr/local/share/template-files/config/defaults/" "/etc/cherokee/"
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
[ -d "/data/htdocs" ] || mkdir -p "/data/htdocs"
|
[ -d "/data/htdocs" ] || mkdir -p "/data/htdocs"
|
||||||
|
[ -d "/data/cherokee" ] || mkdir -p "/data/cherokee"
|
||||||
[ -d "/config/cherokee/themes" ] && cp -Rf "/config/cherokee/themes/." "/usr/local/share/cherokee/share/cherokee/themes/"
|
[ -d "/config/cherokee/themes" ] && cp -Rf "/config/cherokee/themes/." "/usr/local/share/cherokee/share/cherokee/themes/"
|
||||||
if [ -z "$(ls -A /data/htdocs/www/* 2>/dev/null||echo '')" ]; then
|
if [ -z "$(ls -A /data/htdocs/www/* 2>/dev/null||echo '')" ]; then
|
||||||
mkdir -p "/data/htdocs" "/data/htdocs/cgi-bin"
|
mkdir -p "/data/htdocs" "/data/htdocs/cgi-bin"
|
||||||
@ -29,6 +30,8 @@ fi
|
|||||||
if [ ! -f "/config/ssl//localhost.crt" ] || [ ! -f "/config/ssl//localhost.key" ]; then
|
if [ ! -f "/config/ssl//localhost.crt" ] || [ ! -f "/config/ssl//localhost.key" ]; then
|
||||||
create-ssl-cert
|
create-ssl-cert
|
||||||
fi
|
fi
|
||||||
|
# Fix permissions
|
||||||
|
chmod -Rfv 664 "/data/cherokee"
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Start php-fpm server
|
# Start php-fpm server
|
||||||
php-fpm-server &
|
php-fpm-server &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user