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