From dce82c90df355c2d21a86aa59024999ad25bf56e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 1 Jun 2017 19:05:15 +0100 Subject: [PATCH] php daemon --- src/freedombone-app-dokuwiki | 2 +- src/freedombone-app-friendica | 2 +- src/freedombone-app-gnusocial | 2 +- src/freedombone-app-gogs | 2 +- src/freedombone-app-htmly | 2 +- src/freedombone-app-hubzilla | 2 +- src/freedombone-app-koel | 2 +- src/freedombone-app-lychee | 2 +- src/freedombone-app-mediagoblin | 2 +- src/freedombone-app-movim | 2 +- src/freedombone-app-nextcloud | 4 ++-- src/freedombone-app-postactiv | 2 +- src/freedombone-app-rss | 2 +- src/freedombone-app-searx | 2 +- src/freedombone-logging | 2 +- 15 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/freedombone-app-dokuwiki b/src/freedombone-app-dokuwiki index d23cc03c..7cb2f2b2 100755 --- a/src/freedombone-app-dokuwiki +++ b/src/freedombone-app-dokuwiki @@ -491,7 +491,7 @@ function install_dokuwiki { nginx_ensite $DOKUWIKI_DOMAIN_NAME - systemctl restart php-fpm + systemctl restart php7.0-fpm systemctl restart nginx function_check add_ddns_domain diff --git a/src/freedombone-app-friendica b/src/freedombone-app-friendica index 40e91ae1..63fa7b92 100755 --- a/src/freedombone-app-friendica +++ b/src/freedombone-app-friendica @@ -588,7 +588,7 @@ function install_friendica { chown www-data:www-data $FRIENDICA_PATH/.htconfig.php chmod 755 $FRIENDICA_PATH/.htconfig.php - systemctl restart php-fpm + systemctl restart php7.0-fpm systemctl restart nginx systemctl restart cron diff --git a/src/freedombone-app-gnusocial b/src/freedombone-app-gnusocial index 6c8569ce..d5982421 100755 --- a/src/freedombone-app-gnusocial +++ b/src/freedombone-app-gnusocial @@ -770,7 +770,7 @@ function install_gnusocial_main { # This improves performance sed -i "s|//\$config\['db'\]\['schemacheck'\].*|\$config\['db'\]\['schemacheck'\] = 'script';|g" $gnusocial_config_file - systemctl restart php-fpm + systemctl restart php7.0-fpm systemctl restart nginx ${PROJECT_NAME}-addemail -u $MY_USERNAME -e "noreply@$GNUSOCIAL_DOMAIN_NAME" -g gnusocial --public no diff --git a/src/freedombone-app-gogs b/src/freedombone-app-gogs index 39d62db2..49c8ea00 100755 --- a/src/freedombone-app-gogs +++ b/src/freedombone-app-gogs @@ -575,7 +575,7 @@ function install_gogs { GIT_ONION_HOSTNAME=$(cat /var/lib/tor/hidden_service_gogs/hostname) - systemctl restart php-fpm + systemctl restart php7.0-fpm systemctl restart nginx set_completion_param "gogs domain" "$GIT_DOMAIN_NAME" diff --git a/src/freedombone-app-htmly b/src/freedombone-app-htmly index 22fb8e9c..49d0c635 100755 --- a/src/freedombone-app-htmly +++ b/src/freedombone-app-htmly @@ -627,7 +627,7 @@ function install_htmly { function_check nginx_ensite nginx_ensite $HTMLY_DOMAIN_NAME - systemctl restart php-fpm + systemctl restart php7.0-fpm systemctl restart nginx ${PROJECT_NAME}-pass -u $MY_USERNAME -a htmly -p "$HTMLY_ADMIN_PASSWORD" diff --git a/src/freedombone-app-hubzilla b/src/freedombone-app-hubzilla index fb115ba8..3460f1a2 100755 --- a/src/freedombone-app-hubzilla +++ b/src/freedombone-app-hubzilla @@ -583,7 +583,7 @@ function install_hubzilla { chown www-data:www-data $HUBZILLA_PATH/.htconfig.php chmod 755 $HUBZILLA_PATH/.htconfig.php - systemctl restart php-fpm + systemctl restart php7.0-fpm systemctl restart nginx systemctl restart cron diff --git a/src/freedombone-app-koel b/src/freedombone-app-koel index 2de8c3c0..7bb9a955 100755 --- a/src/freedombone-app-koel +++ b/src/freedombone-app-koel @@ -661,7 +661,7 @@ function install_koel_main { KOEL_SERVER=${KOEL_ONION_HOSTNAME} fi - systemctl restart php-fpm + systemctl restart php7.0-fpm systemctl restart nginx ${PROJECT_NAME}-pass -u $MY_USERNAME -a koel -p "$KOEL_ADMIN_PASSWORD" diff --git a/src/freedombone-app-lychee b/src/freedombone-app-lychee index ee39cda5..1d9cc3d7 100755 --- a/src/freedombone-app-lychee +++ b/src/freedombone-app-lychee @@ -426,7 +426,7 @@ function install_lychee { function_check lychee_create_database lychee_create_database - systemctl restart php-fpm + systemctl restart php7.0-fpm systemctl restart nginx ${PROJECT_NAME}-pass -u $MY_USERNAME -a lychee -p "$LYCHEE_ADMIN_PASSWORD" diff --git a/src/freedombone-app-mediagoblin b/src/freedombone-app-mediagoblin index 18905a96..9a6df494 100755 --- a/src/freedombone-app-mediagoblin +++ b/src/freedombone-app-mediagoblin @@ -496,7 +496,7 @@ function install_mediagoblin { nginx_ensite $MEDIAGOBLIN_DOMAIN_NAME - systemctl restart php-fpm + systemctl restart php7.0-fpm systemctl restart nginx function_check add_ddns_domain diff --git a/src/freedombone-app-movim b/src/freedombone-app-movim index cfc00bee..d00ebf18 100755 --- a/src/freedombone-app-movim +++ b/src/freedombone-app-movim @@ -550,7 +550,7 @@ function install_movim { set_completion_param "movim domain" "$MOVIM_DOMAIN_NAME" systemctl start movim - systemctl restart php-fpm + systemctl restart php7.0-fpm systemctl restart nginx APP_INSTALLED=1 } diff --git a/src/freedombone-app-nextcloud b/src/freedombone-app-nextcloud index ce22e661..a980c800 100755 --- a/src/freedombone-app-nextcloud +++ b/src/freedombone-app-nextcloud @@ -367,7 +367,7 @@ function remove_nextcloud { function_check remove_ddns_domain remove_ddns_domain $NEXTCLOUD_DOMAIN_NAME systemctl restart nginx - systemctl restart php-fpm + systemctl restart php7.0-fpm } function install_nextcloud_main { @@ -592,7 +592,7 @@ function install_nextcloud_main { NEXTCLOUD_SERVER=${NEXTCLOUD_ONION_HOSTNAME} fi - systemctl restart php-fpm + systemctl restart php7.0-fpm systemctl restart nginx ${PROJECT_NAME}-addemail -u $MY_USERNAME -e "noreply@$NEXTCLOUD_DOMAIN_NAME" -g nextcloud --public no diff --git a/src/freedombone-app-postactiv b/src/freedombone-app-postactiv index 07c413ad..7401b22b 100755 --- a/src/freedombone-app-postactiv +++ b/src/freedombone-app-postactiv @@ -776,7 +776,7 @@ function install_postactiv_main { rm /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/install.php fi - systemctl restart php-fpm + systemctl restart php7.0-fpm systemctl restart nginx ${PROJECT_NAME}-addemail -u $MY_USERNAME -e "noreply@$POSTACTIV_DOMAIN_NAME" -g postactiv --public no diff --git a/src/freedombone-app-rss b/src/freedombone-app-rss index 8496e275..305d2220 100755 --- a/src/freedombone-app-rss +++ b/src/freedombone-app-rss @@ -482,7 +482,7 @@ function install_rss_main { configure_php nginx_ensite $RSS_READER_DOMAIN_NAME - systemctl restart php-fpm + systemctl restart php7.0-fpm systemctl restart nginx # daemon to update feeds diff --git a/src/freedombone-app-searx b/src/freedombone-app-searx index 429ec1c3..97566869 100755 --- a/src/freedombone-app-searx +++ b/src/freedombone-app-searx @@ -930,7 +930,7 @@ function install_searx { nginx_ensite searx # restart the web server - systemctl restart php-fpm + systemctl restart php7.0-fpm systemctl restart nginx # start the daemon diff --git a/src/freedombone-logging b/src/freedombone-logging index f1084279..de6daf56 100755 --- a/src/freedombone-logging +++ b/src/freedombone-logging @@ -246,7 +246,7 @@ if [ -d /etc/tor ]; then fi fi if [ -d /etc/nginx ]; then - systemctl restart php-fpm + systemctl restart php7.0-fpm systemctl restart nginx fi if [ -f /etc/init.d/spamassassin ]; then