Skip to content

Commit

Permalink
remove useless sync of local-backup to server
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Jul 26, 2023
1 parent af04353 commit ac23da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy-static
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ssh $remote "ln -snf $target /srv/element.grapheneos.org && sync /srv/element.gr

echo "root $target;" > nginx-tmp/root_element.grapheneos.org.conf
rsync -rptcv --chmod=D755,F644 --delete --fsync --preallocate nginx-tmp/{nginx.conf,mime.types,root_element.grapheneos.org.conf,snippets} $remote:/etc/nginx/
rsync -ptcv --chmod=755 --fsync --preallocate {local-backup,remote-backup} $remote:/usr/local/bin/
rsync -ptcv --chmod=755 --fsync --preallocate remote-backup $remote:/usr/local/bin/
rsync -ptcv --chmod=644 --fsync --preallocate systemd/system/remote-backup.timer $remote:/etc/systemd/system/remote-backup.timer
rsync -ptcv --chmod=644 --fsync --preallocate systemd/system/remote-backup.service $remote:/etc/systemd/system/remote-backup.service
ssh $remote nginx -s reload
Expand Down

0 comments on commit ac23da3

Please sign in to comment.