mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2025-02-23 16:19:53 -05:00
remove useless sync of local-backup to server
This commit is contained in:
parent
af04353d64
commit
ac23da36e3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user