From 6a0e806243d488353d27e46054a23a4e8007dc83 Mon Sep 17 00:00:00 2001 From: andre Date: Sat, 29 Nov 2025 21:57:10 +0100 Subject: [PATCH] =?UTF-8?q?rootfs/home/andre/git-sync-install.sh=20hinzuge?= =?UTF-8?q?f=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rootfs/home/andre/git-sync-install.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 rootfs/home/andre/git-sync-install.sh diff --git a/rootfs/home/andre/git-sync-install.sh b/rootfs/home/andre/git-sync-install.sh new file mode 100644 index 0000000..4ec45e4 --- /dev/null +++ b/rootfs/home/andre/git-sync-install.sh @@ -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 \ No newline at end of file