Revert "Retaining badgey user for simplicity"
This reverts commit d53b613044.
This commit is contained in:
parent
5ba7f03188
commit
e50f95c6f6
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
bot=$(echo "$1" | tr '[:upper:]' '[:lower:]')
|
bot=$(echo "$1" | tr '[:upper:]' '[:lower:]')
|
||||||
|
|
||||||
ssh badgey@$bot sudo /usr/bin/systemctl stop $bot
|
ssh $bot@$bot sudo /usr/bin/systemctl stop $bot
|
||||||
rsync -avP badgey badgey@$bot:/srv/$bot/
|
rsync -avP badgey $bot@$bot:/srv/$bot/
|
||||||
rsync -avP config badgey@$bot:/srv/$bot/
|
rsync -avP config $bot@$bot:/srv/$bot/
|
||||||
rsync -avP txt badgey@$bot:/srv/$bot/
|
rsync -avP txt $bot@$bot:/srv/$bot/
|
||||||
ssh badgey@$bot sudo /usr/bin/systemctl start $bot
|
ssh $bot@$bot sudo /usr/bin/systemctl start $bot
|
||||||
Loading…
Reference in New Issue