php daemon
This commit is contained in:
parent
d351d8ee0d
commit
dce82c90df
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue