11 lines
162 B
Bash
11 lines
162 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
if [ -z $1 ]; then
|
||
|
echo "Please fill in app's name."
|
||
|
exit
|
||
|
fi
|
||
|
|
||
|
mv sdt-cloud-app.service $1.service
|
||
|
sudo sed -i "s/sdt-cloud-app/$1/g" ./install.sh
|
||
|
|