load-test/install.sh

10 lines
219 B
Bash
Raw Permalink Normal View History

2023-10-20 01:21:40 +00:00
#!/bin/bash
set -e
sudo sed -i "s/appName/$1/g" /usr/local/sdt/app/$1/load-test.service
sudo cp /usr/local/sdt/app/$1/load-test.service /etc/systemd/system/$1.service
sudo systemctl start $1
sudo systemctl enable $1