Browse Source

fix: remove downtime in deploy script

tags/v0.15.2
Inhji Y. 10 months ago
parent
commit
2a6adac386
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      deploy.sh

+ 1
- 2
deploy.sh View File

@@ -1,6 +1,5 @@
#!/usr/bin/env bash

ssh -T root@inhji.de systemctl stop tomie
ssh -T root@inhji.de << EOSSH
su tomie
cd /opt/tomie
@@ -8,4 +7,4 @@ git pull
./build.sh
exit
EOSSH
ssh -T root@inhji.de systemctl start tomie
ssh -T root@inhji.de systemctl restart tomie

Loading…
Cancel
Save