ADD: Add error code test

This commit is contained in:
이수준 2023-10-18 16:33:15 +09:00
parent e0b44b8aff
commit 50b007cb75
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
#!/bin/bash
sudo sed -i "s/appName/$1/g" /usr/local/sdt/app/$1/awx-perfermance.service
set -e
sssudo 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