Revert "Retaining badgey user for simplicity"

This reverts commit d53b613044.
This commit is contained in:
Xyon 2024-10-12 13:50:15 +01:00
parent 5ba7f03188
commit e50f95c6f6
Signed by: xyon
GPG Key ID: DD18155D6B18078D
1 changed files with 5 additions and 5 deletions

View File

@ -2,8 +2,8 @@
bot=$(echo "$1" | tr '[:upper:]' '[:lower:]')
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
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