awx-perfermance/install.sh

10 lines
231 B
Bash
Raw Permalink Normal View History

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