mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
php-fcgid should have been configured in web.sh not webmail.sh
When I re-did this, I left in an old reference to the php-fcgid
script that never made it into the repo. Deleting that and moving
the php-fcgid configuration on top of it.
fixes #9
see 2ebd9706ec
This commit is contained in:
parent
6d1d9e1cc9
commit
d5fe5bd2a2
@ -21,10 +21,17 @@ mkdir -p $STORAGE_ROOT/www/static
|
|||||||
cp conf/www_default.html $STORAGE_ROOT/www/static/index.html
|
cp conf/www_default.html $STORAGE_ROOT/www/static/index.html
|
||||||
chown -R $STORAGE_USER $STORAGE_ROOT/www/static/index.html
|
chown -R $STORAGE_USER $STORAGE_ROOT/www/static/index.html
|
||||||
|
|
||||||
|
# Create an init script to start the PHP FastCGI daemon and keep it
|
||||||
|
# running after a reboot. Allows us to serve Roundcube for webmail.
|
||||||
|
rm -f /etc/init.d/php-fastcgi
|
||||||
|
ln -s $(pwd)/conf/phpfcgi-initscript /etc/init.d/php-fastcgi
|
||||||
|
update-rc.d php-fastcgi defaults
|
||||||
|
|
||||||
|
# Start services.
|
||||||
service nginx restart
|
service nginx restart
|
||||||
|
service php-fastcgi restart
|
||||||
|
|
||||||
conf/php-fcgid start
|
# Open ports.
|
||||||
|
|
||||||
ufw allow http
|
ufw allow http
|
||||||
ufw allow https
|
ufw allow https
|
||||||
|
|
||||||
|
@ -51,10 +51,3 @@ cat - > /etc/roundcube/debian-db.php <<EOF;
|
|||||||
EOF
|
EOF
|
||||||
chown -R www-data.www-data $STORAGE_ROOT/mail/roundcube
|
chown -R www-data.www-data $STORAGE_ROOT/mail/roundcube
|
||||||
|
|
||||||
# Create an init script to start the PHP FastCGI daemon and keep it
|
|
||||||
# running after a reboot. Use 'restart' to start it here since it may
|
|
||||||
# already be running.
|
|
||||||
rm -f /etc/init.d/php-fastcgi
|
|
||||||
ln -s $(pwd)/conf/phpfcgi-initscript /etc/init.d/php-fastcgi
|
|
||||||
update-rc.d php-fastcgi defaults
|
|
||||||
service php-fastcgi restart
|
|
||||||
|
Loading…
Reference in New Issue
Block a user