|
@@ -1,6 +1,5 @@
|
|
#!/bin/bash
|
|
#!/bin/bash
|
|
|
|
|
|
-
|
|
|
|
#Read parameters
|
|
#Read parameters
|
|
echo "Please input the configuration file name"
|
|
echo "Please input the configuration file name"
|
|
read conf
|
|
read conf
|
|
@@ -34,7 +33,6 @@ sed -i "s#USER#$user#g" $served/$conf
|
|
sed -i "s#DIRECTORY#$directory#g" $served/$conf
|
|
sed -i "s#DIRECTORY#$directory#g" $served/$conf
|
|
sed -i "s#COMMAND#$command#g" $served/$conf
|
|
sed -i "s#COMMAND#$command#g" $served/$conf
|
|
|
|
|
|
-
|
|
|
|
#重读supervisor配置文件
|
|
#重读supervisor配置文件
|
|
supervisorctl update
|
|
supervisorctl update
|
|
|
|
|