diff --git a/imageroot/actions/destroy-vhost/30restart_services b/imageroot/actions/destroy-vhost/30restart_services index 678b502..135c547 100755 --- a/imageroot/actions/destroy-vhost/30restart_services +++ b/imageroot/actions/destroy-vhost/30restart_services @@ -37,4 +37,4 @@ for folder in PhpServiceArray: subprocess.run(["systemctl", "--user", "disable","--now", "phpfpm@"+ConfiguredServices[0].replace('php','')+".service"]) # reload the containers -subprocess.run(["systemctl", "--user", "reload", "phpfpm@\*.service"]) +subprocess.run(["systemctl", "--user", "reload", "phpfpm@*.service"]) diff --git a/imageroot/actions/update-vhost/30SystemdServices b/imageroot/actions/update-vhost/30SystemdServices index 4032ea7..ad0da66 100755 --- a/imageroot/actions/update-vhost/30SystemdServices +++ b/imageroot/actions/update-vhost/30SystemdServices @@ -51,7 +51,7 @@ if PhpVersion: subprocess.run(["download-php-fpm",str(PhpVersion)]) # start the container if stopped subprocess.run(["systemctl", "--user", "enable", "--now", "phpfpm@"+str(PhpVersion)+".service"]) - subprocess.run(["systemctl", "--user", "reload", "phpfpm@\*.service"]) + subprocess.run(["systemctl", "--user", "reload", "phpfpm@*.service"]) else: subprocess.run(["systemctl", "--user", "reload", "nginx.service"]) - subprocess.run(["systemctl", "--user", "reload", "phpfpm@\*.service"]) + subprocess.run(["systemctl", "--user", "reload", "phpfpm@*.service"])