can't resist
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
165 B

  1. #!/usr/bin/env zsh
  2. ssh -T root@inhji.de << EOSSH
  3. su tomie
  4. source ~/.zshrc
  5. cd /opt/tomie
  6. git pull
  7. ./build.sh
  8. exit
  9. EOSSH
  10. ssh -T root@inhji.de systemctl restart tomie