Apply suggestion from @CrazyWolf13
Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
This commit is contained in:
@@ -32,8 +32,7 @@ function update_script() {
|
|||||||
if check_for_gh_release "webtrees" "fisharebest/webtrees"; then
|
if check_for_gh_release "webtrees" "fisharebest/webtrees"; then
|
||||||
msg_info "Stopping Service"
|
msg_info "Stopping Service"
|
||||||
PHP_VER=$(php -r 'echo PHP_MAJOR_VERSION . "." . PHP_MINOR_VERSION;')
|
PHP_VER=$(php -r 'echo PHP_MAJOR_VERSION . "." . PHP_MINOR_VERSION;')
|
||||||
systemctl stop php${PHP_VER}-fpm
|
systemctl stop caddy php${PHP_VER}-fpm
|
||||||
systemctl stop caddy
|
|
||||||
msg_ok "Stopped Service"
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
msg_info "Backing up Data"
|
msg_info "Backing up Data"
|
||||||
|
|||||||
Reference in New Issue
Block a user