awx-perfermance/install.sh

8 lines
223 B
Bash
Raw Normal View History

2023-09-11 02:23:00 +00:00
#!/bin/bash
sudo sed -i "s/appName/$1/g" /usr/local/sdt/app/$1/awx-perfermance.service
sudo cp /usr/local/sdt/app/$1/awx-perfermance.service /etc/systemd/system/$1.service
sudo systemctl start $1
sudo systemctl enable $1