summaryrefslogtreecommitdiff
path: root/.config/systemd/user
diff options
context:
space:
mode:
authorKyren223 <contact@kyren.codes>2026-06-02 16:40:33 +0300
committerKyren223 <contact@kyren.codes>2026-06-02 16:40:33 +0300
commit2b0f329a5669b710f5fdc26b441a7684b80ea8ae (patch)
treeb6aa092b67c05ceb2a232f5cdc8f612bfab84bd3 /.config/systemd/user
parente649e9f0024918be87a83822008e866b4993c6ec (diff)
migrate systemd units and timers over to fedora
Diffstat (limited to '.config/systemd/user')
-rw-r--r--.config/systemd/user/git-auto-sync.service6
-rw-r--r--.config/systemd/user/git-auto-sync.timer10
2 files changed, 16 insertions, 0 deletions
diff --git a/.config/systemd/user/git-auto-sync.service b/.config/systemd/user/git-auto-sync.service
new file mode 100644
index 0000000..9f5014e
--- /dev/null
+++ b/.config/systemd/user/git-auto-sync.service
@@ -0,0 +1,6 @@
+[Unit]
+Description=Automated Git Sync Service
+
+[Service]
+Type=oneshot
+ExecStart=%h/scripts/git-auto-sync.sh
diff --git a/.config/systemd/user/git-auto-sync.timer b/.config/systemd/user/git-auto-sync.timer
new file mode 100644
index 0000000..05ab6b2
--- /dev/null
+++ b/.config/systemd/user/git-auto-sync.timer
@@ -0,0 +1,10 @@
+[Unit]
+Description=Automated Git Sync Timer
+
+[Timer]
+OnBootSec=5m
+OnUnitActiveSec=5m
+Unit=git-auto-sync.service
+
+[Install]
+WantedBy=timers.target