diff --git a/app-setting.sh b/app-setting.sh index 96637e0..d880b91 100755 --- a/app-setting.sh +++ b/app-setting.sh @@ -1,7 +1,7 @@ #!/bin/bash if [ -z $1 ] || [ -z $2 ] || [ -z $3 ] ; then - echo "Please fill in app's name, file." + echo "Please fill in app's name, bin path, file." exit fi @@ -11,4 +11,4 @@ mv sdt-cloud-app.service $1.service sed -i "s/sdt-cloud-app/$1/g" ./install.sh sed -i "s/sdt-cloud-app/$1/g" ./$1.service sed -i "s%exePath%$2%g" ./$1.service -sed -i "s/exeFile/$2/g" ./$1.service \ No newline at end of file +sed -i "s/exeFile/$3/g" ./$1.service \ No newline at end of file