Just noting some additional target improvements for when we come to update the script for 24.04.
Don't want to change too much though, want to keep things incremental.
- Update PHP/Apache setup to be 100% fpm/mpm-event based instead of mod-php/mpm-prefork.
- Think this allows this config to be used with HTTP2 (Maybe check this).
- Start required services after install.
- Some scenarios of automated install can produce a
/usr/sbin/policy-rc.dfile which prevents mysql and other services from starting which breaks the process. See https://github.com/BookStackApp/website/issues/179 for reference.
- Some scenarios of automated install can produce a
(削除) Set permissions to current CLI user where ran as sudo, to allow future non-root user updating. (削除ここまで)(削除) Might need to prompt for this one to check it's the right thing to do. (削除ここまで)- We were already doing this.
Just noting some additional target improvements for when we come to update the script for 24.04.
Don't want to change too much though, want to keep things incremental.
- Update PHP/Apache setup to be 100% fpm/mpm-event based instead of mod-php/mpm-prefork.
- Think this allows this config to be used with HTTP2 (Maybe check this).
- Start required services after install.
- Some scenarios of automated install can produce a `/usr/sbin/policy-rc.d` file which prevents mysql and other services from starting which breaks the process. See https://github.com/BookStackApp/website/issues/179 for reference.
- ~Set permissions to current CLI user where ran as sudo, to allow future non-root user updating.~
- ~Might need to prompt for this one to check it's the right thing to do.~
- We were already doing this.