Browse Source

php daemon

Bob Mottram 8 years ago
parent
commit
dce82c90df

+ 1
- 1
src/freedombone-app-dokuwiki View File

491
 
491
 
492
     nginx_ensite $DOKUWIKI_DOMAIN_NAME
492
     nginx_ensite $DOKUWIKI_DOMAIN_NAME
493
 
493
 
494
-    systemctl restart php-fpm
494
+    systemctl restart php7.0-fpm
495
     systemctl restart nginx
495
     systemctl restart nginx
496
 
496
 
497
     function_check add_ddns_domain
497
     function_check add_ddns_domain

+ 1
- 1
src/freedombone-app-friendica View File

588
     chown www-data:www-data $FRIENDICA_PATH/.htconfig.php
588
     chown www-data:www-data $FRIENDICA_PATH/.htconfig.php
589
     chmod 755 $FRIENDICA_PATH/.htconfig.php
589
     chmod 755 $FRIENDICA_PATH/.htconfig.php
590
 
590
 
591
-    systemctl restart php-fpm
591
+    systemctl restart php7.0-fpm
592
     systemctl restart nginx
592
     systemctl restart nginx
593
     systemctl restart cron
593
     systemctl restart cron
594
 
594
 

+ 1
- 1
src/freedombone-app-gnusocial View File

770
     # This improves performance
770
     # This improves performance
771
     sed -i "s|//\$config\['db'\]\['schemacheck'\].*|\$config\['db'\]\['schemacheck'\] = 'script';|g" $gnusocial_config_file
771
     sed -i "s|//\$config\['db'\]\['schemacheck'\].*|\$config\['db'\]\['schemacheck'\] = 'script';|g" $gnusocial_config_file
772
 
772
 
773
-    systemctl restart php-fpm
773
+    systemctl restart php7.0-fpm
774
     systemctl restart nginx
774
     systemctl restart nginx
775
 
775
 
776
     ${PROJECT_NAME}-addemail -u $MY_USERNAME -e "noreply@$GNUSOCIAL_DOMAIN_NAME" -g gnusocial --public no
776
     ${PROJECT_NAME}-addemail -u $MY_USERNAME -e "noreply@$GNUSOCIAL_DOMAIN_NAME" -g gnusocial --public no

+ 1
- 1
src/freedombone-app-gogs View File

575
 
575
 
576
     GIT_ONION_HOSTNAME=$(cat /var/lib/tor/hidden_service_gogs/hostname)
576
     GIT_ONION_HOSTNAME=$(cat /var/lib/tor/hidden_service_gogs/hostname)
577
 
577
 
578
-    systemctl restart php-fpm
578
+    systemctl restart php7.0-fpm
579
     systemctl restart nginx
579
     systemctl restart nginx
580
 
580
 
581
     set_completion_param "gogs domain" "$GIT_DOMAIN_NAME"
581
     set_completion_param "gogs domain" "$GIT_DOMAIN_NAME"

+ 1
- 1
src/freedombone-app-htmly View File

627
     function_check nginx_ensite
627
     function_check nginx_ensite
628
     nginx_ensite $HTMLY_DOMAIN_NAME
628
     nginx_ensite $HTMLY_DOMAIN_NAME
629
 
629
 
630
-    systemctl restart php-fpm
630
+    systemctl restart php7.0-fpm
631
     systemctl restart nginx
631
     systemctl restart nginx
632
 
632
 
633
     ${PROJECT_NAME}-pass -u $MY_USERNAME -a htmly -p "$HTMLY_ADMIN_PASSWORD"
633
     ${PROJECT_NAME}-pass -u $MY_USERNAME -a htmly -p "$HTMLY_ADMIN_PASSWORD"

+ 1
- 1
src/freedombone-app-hubzilla View File

583
     chown www-data:www-data $HUBZILLA_PATH/.htconfig.php
583
     chown www-data:www-data $HUBZILLA_PATH/.htconfig.php
584
     chmod 755 $HUBZILLA_PATH/.htconfig.php
584
     chmod 755 $HUBZILLA_PATH/.htconfig.php
585
 
585
 
586
-    systemctl restart php-fpm
586
+    systemctl restart php7.0-fpm
587
     systemctl restart nginx
587
     systemctl restart nginx
588
     systemctl restart cron
588
     systemctl restart cron
589
 
589
 

+ 1
- 1
src/freedombone-app-koel View File

661
         KOEL_SERVER=${KOEL_ONION_HOSTNAME}
661
         KOEL_SERVER=${KOEL_ONION_HOSTNAME}
662
     fi
662
     fi
663
 
663
 
664
-    systemctl restart php-fpm
664
+    systemctl restart php7.0-fpm
665
     systemctl restart nginx
665
     systemctl restart nginx
666
 
666
 
667
     ${PROJECT_NAME}-pass -u $MY_USERNAME -a koel -p "$KOEL_ADMIN_PASSWORD"
667
     ${PROJECT_NAME}-pass -u $MY_USERNAME -a koel -p "$KOEL_ADMIN_PASSWORD"

+ 1
- 1
src/freedombone-app-lychee View File

426
     function_check lychee_create_database
426
     function_check lychee_create_database
427
     lychee_create_database
427
     lychee_create_database
428
 
428
 
429
-    systemctl restart php-fpm
429
+    systemctl restart php7.0-fpm
430
     systemctl restart nginx
430
     systemctl restart nginx
431
 
431
 
432
     ${PROJECT_NAME}-pass -u $MY_USERNAME -a lychee -p "$LYCHEE_ADMIN_PASSWORD"
432
     ${PROJECT_NAME}-pass -u $MY_USERNAME -a lychee -p "$LYCHEE_ADMIN_PASSWORD"

+ 1
- 1
src/freedombone-app-mediagoblin View File

496
 
496
 
497
     nginx_ensite $MEDIAGOBLIN_DOMAIN_NAME
497
     nginx_ensite $MEDIAGOBLIN_DOMAIN_NAME
498
 
498
 
499
-    systemctl restart php-fpm
499
+    systemctl restart php7.0-fpm
500
     systemctl restart nginx
500
     systemctl restart nginx
501
 
501
 
502
     function_check add_ddns_domain
502
     function_check add_ddns_domain

+ 1
- 1
src/freedombone-app-movim View File

550
     set_completion_param "movim domain" "$MOVIM_DOMAIN_NAME"
550
     set_completion_param "movim domain" "$MOVIM_DOMAIN_NAME"
551
 
551
 
552
     systemctl start movim
552
     systemctl start movim
553
-    systemctl restart php-fpm
553
+    systemctl restart php7.0-fpm
554
     systemctl restart nginx
554
     systemctl restart nginx
555
     APP_INSTALLED=1
555
     APP_INSTALLED=1
556
 }
556
 }

+ 2
- 2
src/freedombone-app-nextcloud View File

367
     function_check remove_ddns_domain
367
     function_check remove_ddns_domain
368
     remove_ddns_domain $NEXTCLOUD_DOMAIN_NAME
368
     remove_ddns_domain $NEXTCLOUD_DOMAIN_NAME
369
     systemctl restart nginx
369
     systemctl restart nginx
370
-    systemctl restart php-fpm
370
+    systemctl restart php7.0-fpm
371
 }
371
 }
372
 
372
 
373
 function install_nextcloud_main {
373
 function install_nextcloud_main {
592
         NEXTCLOUD_SERVER=${NEXTCLOUD_ONION_HOSTNAME}
592
         NEXTCLOUD_SERVER=${NEXTCLOUD_ONION_HOSTNAME}
593
     fi
593
     fi
594
 
594
 
595
-    systemctl restart php-fpm
595
+    systemctl restart php7.0-fpm
596
     systemctl restart nginx
596
     systemctl restart nginx
597
 
597
 
598
     ${PROJECT_NAME}-addemail -u $MY_USERNAME -e "noreply@$NEXTCLOUD_DOMAIN_NAME" -g nextcloud --public no
598
     ${PROJECT_NAME}-addemail -u $MY_USERNAME -e "noreply@$NEXTCLOUD_DOMAIN_NAME" -g nextcloud --public no

+ 1
- 1
src/freedombone-app-postactiv View File

776
         rm /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/install.php
776
         rm /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/install.php
777
     fi
777
     fi
778
 
778
 
779
-    systemctl restart php-fpm
779
+    systemctl restart php7.0-fpm
780
     systemctl restart nginx
780
     systemctl restart nginx
781
 
781
 
782
     ${PROJECT_NAME}-addemail -u $MY_USERNAME -e "noreply@$POSTACTIV_DOMAIN_NAME" -g postactiv --public no
782
     ${PROJECT_NAME}-addemail -u $MY_USERNAME -e "noreply@$POSTACTIV_DOMAIN_NAME" -g postactiv --public no

+ 1
- 1
src/freedombone-app-rss View File

482
     configure_php
482
     configure_php
483
 
483
 
484
     nginx_ensite $RSS_READER_DOMAIN_NAME
484
     nginx_ensite $RSS_READER_DOMAIN_NAME
485
-    systemctl restart php-fpm
485
+    systemctl restart php7.0-fpm
486
     systemctl restart nginx
486
     systemctl restart nginx
487
 
487
 
488
     # daemon to update feeds
488
     # daemon to update feeds

+ 1
- 1
src/freedombone-app-searx View File

930
     nginx_ensite searx
930
     nginx_ensite searx
931
 
931
 
932
     # restart the web server
932
     # restart the web server
933
-    systemctl restart php-fpm
933
+    systemctl restart php7.0-fpm
934
     systemctl restart nginx
934
     systemctl restart nginx
935
 
935
 
936
     # start the daemon
936
     # start the daemon

+ 1
- 1
src/freedombone-logging View File

246
     fi
246
     fi
247
 fi
247
 fi
248
 if [ -d /etc/nginx ]; then
248
 if [ -d /etc/nginx ]; then
249
-    systemctl restart php-fpm
249
+    systemctl restart php7.0-fpm
250
     systemctl restart nginx
250
     systemctl restart nginx
251
 fi
251
 fi
252
 if [ -f /etc/init.d/spamassassin ]; then
252
 if [ -f /etc/init.d/spamassassin ]; then