rootfs/home/andre/git-sync-install.sh hinzugefügt

This commit is contained in:
2025-11-29 21:57:10 +01:00
parent be80cd5e60
commit 6a0e806243

View File

@@ -0,0 +1,15 @@
#!/bin/bash
sudo cp /opt/git-sync/rootfs/opt/git-sync/git-sync.sh /usr/local/bin/git-sync.sh
sudo 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
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
sudo systemctl daemon-reload
sudo systemctl enable --now git-sync.timer
systemctl start git-sync.service