Browse Source

php daemon

Bob Mottram 7 years ago
parent
commit
dce82c90df

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

@@ -491,7 +491,7 @@ function install_dokuwiki {
491 491
 
492 492
     nginx_ensite $DOKUWIKI_DOMAIN_NAME
493 493
 
494
-    systemctl restart php-fpm
494
+    systemctl restart php7.0-fpm
495 495
     systemctl restart nginx
496 496
 
497 497
     function_check add_ddns_domain

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

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

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

@@ -770,7 +770,7 @@ function install_gnusocial_main {
770 770
     # This improves performance
771 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 774
     systemctl restart nginx
775 775
 
776 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,7 +575,7 @@ function install_gogs {
575 575
 
576 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 579
     systemctl restart nginx
580 580
 
581 581
     set_completion_param "gogs domain" "$GIT_DOMAIN_NAME"

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

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

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

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

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

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

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

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

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

@@ -496,7 +496,7 @@ function install_mediagoblin {
496 496
 
497 497
     nginx_ensite $MEDIAGOBLIN_DOMAIN_NAME
498 498
 
499
-    systemctl restart php-fpm
499
+    systemctl restart php7.0-fpm
500 500
     systemctl restart nginx
501 501
 
502 502
     function_check add_ddns_domain

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

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

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

@@ -367,7 +367,7 @@ function remove_nextcloud {
367 367
     function_check remove_ddns_domain
368 368
     remove_ddns_domain $NEXTCLOUD_DOMAIN_NAME
369 369
     systemctl restart nginx
370
-    systemctl restart php-fpm
370
+    systemctl restart php7.0-fpm
371 371
 }
372 372
 
373 373
 function install_nextcloud_main {
@@ -592,7 +592,7 @@ function install_nextcloud_main {
592 592
         NEXTCLOUD_SERVER=${NEXTCLOUD_ONION_HOSTNAME}
593 593
     fi
594 594
 
595
-    systemctl restart php-fpm
595
+    systemctl restart php7.0-fpm
596 596
     systemctl restart nginx
597 597
 
598 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,7 +776,7 @@ function install_postactiv_main {
776 776
         rm /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/install.php
777 777
     fi
778 778
 
779
-    systemctl restart php-fpm
779
+    systemctl restart php7.0-fpm
780 780
     systemctl restart nginx
781 781
 
782 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,7 +482,7 @@ function install_rss_main {
482 482
     configure_php
483 483
 
484 484
     nginx_ensite $RSS_READER_DOMAIN_NAME
485
-    systemctl restart php-fpm
485
+    systemctl restart php7.0-fpm
486 486
     systemctl restart nginx
487 487
 
488 488
     # daemon to update feeds

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

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

+ 1
- 1
src/freedombone-logging View File

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