ADD: Add error code test

This commit is contained in:
이수준 2023-10-18 16:10:00 +09:00
parent 4cfb891eba
commit 40365eb8e0
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -10,7 +10,7 @@ parser = argparse.ArgumentParser()
parser.add_argument('-config',help='')
args = parser.parse_args()
iwith open(f'/usr/local/sdt/app/{args.config}/config.json', encoding='UTF-8') as f:
with open(f'/usr/local/sdt/app/{args.config}/config.json', encoding='UTF-8') as f:
# with open(f'./config.json', encoding='UTF-8') as f:
jsonData = json.load(f)