From 2b0f329a5669b710f5fdc26b441a7684b80ea8ae Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 2 Jun 2026 16:40:33 +0300 Subject: migrate systemd units and timers over to fedora --- .config/systemd/user/git-auto-sync.service | 6 ++++++ .config/systemd/user/git-auto-sync.timer | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .config/systemd/user/git-auto-sync.service create mode 100644 .config/systemd/user/git-auto-sync.timer (limited to '.config/systemd/user') 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 -- cgit v1.3.1