feature/string-translation #5

Merged
xyon merged 4 commits from feature/string-translation into main 2024-10-07 23:14:07 +00:00
1 changed files with 5 additions and 5 deletions
Showing only changes of commit 6d8af9b60a - Show all commits

View File

@ -2,8 +2,8 @@
bot=$(echo "$1" | tr '[:upper:]' '[:lower:]')
ssh $bot@$bot sudo /usr/bin/systemctl stop $bot
rsync -avP badgey $bot@$bot:/srv/$bot/
rsync -avP config $bot@$bot:/srv/$bot/
rsync -avP txt $bot@$bot:/srv/$bot/
ssh $bot@$bot sudo /usr/bin/systemctl start $bot
ssh badgey@$bot sudo /usr/bin/systemctl stop $bot
rsync -avP badgey badgey@$bot:/srv/$bot/
rsync -avP config badgey@$bot:/srv/$bot/
rsync -avP txt badgey@$bot:/srv/$bot/
ssh badgey@$bot sudo /usr/bin/systemctl start $bot