11 lines
206 B
Bash
11 lines
206 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
echo $SSH_KEY >> /tmp/key
|
||
|
chmod -R 0600 /tmp/key
|
||
|
|
||
|
ssh -i /tmp/key -o StrictHostKeyChecking=no root@hatecomputers.club "systemctl restart docker-compose@hatecomputers-club"
|
||
|
|
||
|
rm /tmp/key
|