Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
ssung | 02d9ccb87d |
|
@ -1,14 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
if [ -z $1 ] || [ -z $2 ] || [ -z $3 ] ; then
|
|
||||||
echo "Please fill in app's name, file."
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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/$3/g" ./$1.service
|
|
Loading…
Reference in New Issue