can't resist
25개 이상의 토픽을 선택하실 수 없습니다. 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