Compare commits

..

2 Commits
test14 ... main

Author SHA1 Message Date
이수준 e9cc931753 ADD: Add error code test 2023-10-18 16:34:01 +09:00
이수준 50b007cb75 ADD: Add error code test 2023-10-18 16:33:15 +09:00
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
set -e
sudo sed -i "s/appName/$1/g" /usr/local/sdt/app/$1/awx-perfermance.service 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 cp /usr/local/sdt/app/$1/awx-perfermance.service /etc/systemd/system/$1.service
sudo systemctl start $1 sudo systemctl start $1