rootfs/home/andre/git-sync-install.sh aktualisiert

This commit is contained in:
2026-01-13 12:48:24 +01:00
parent b2528558cb
commit 8976ade8c2

View File

@@ -1,15 +1,15 @@
#!/bin/bash
sudo cp /opt/git-sync/rootfs/usr/local/bin/git-sync.sh /usr/local/bin/git-sync.sh
sudo chmod +x /usr/local/bin/git-sync.sh
cp /opt/git-sync/rootfs/usr/local/bin/git-sync.sh /usr/local/bin/git-sync.sh
chmod +x /usr/local/bin/git-sync.sh
sudo cp /opt/git-sync/rootfs/etc/systemd/system/git-sync.service /etc/systemd/system/git-sync.service
sudo chmod +x /etc/systemd/system/git-sync.service
cp /opt/git-sync/rootfs/etc/systemd/system/git-sync.service /etc/systemd/system/git-sync.service
chmod +x /etc/systemd/system/git-sync.service
sudo cp /opt/git-sync/rootfs/etc/systemd/system/git-sync.timer /etc/systemd/system/git-sync.timer
sudo chmod +x /etc/systemd/system/git-sync.timer
cp /opt/git-sync/rootfs/etc/systemd/system/git-sync.timer /etc/systemd/system/git-sync.timer
chmod +x /etc/systemd/system/git-sync.timer
sudo systemctl daemon-reload
sudo systemctl enable --now git-sync.timer
systemctl daemon-reload
systemctl enable --now git-sync.timer
systemctl start git-sync.service