sdtcloud-app-format/app-setting.sh

11 lines
162 B
Bash
Executable File

#!/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