Simplify: fix variable bug, deduplicate config patterns, remove dead code
This commit is contained in:
1 parent
4ac6d60d02
commit
6e5f0e25cf
5 files changed
+23
-43
No files matched your search
+1
-1
@@ -381,8 +381,8 @@ foreach(SERVICE_INSTANCES as $instance){
|
||||
rewrite_torrc($instance);
|
||||
exec("systemctl enable ".escapeshellarg("tor@$instance"));
|
||||
exec("systemctl start ".escapeshellarg("tor@$instance"));
|
||||
rewrite_php_config($instance);
|
||||
foreach(PHP_VERSIONS as $version){
|
||||
rewrite_php_config($instance);
|
||||
exec("systemctl enable ".escapeshellarg("php$version-fpm@$instance"));
|
||||
exec("systemctl start ".escapeshellarg("php$version-fpm@$instance"));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user