diff options
Diffstat (limited to '.config')
| -rw-r--r-- | .config/systemd/user/git-auto-sync.service | 6 | ||||
| -rw-r--r-- | .config/systemd/user/git-auto-sync.timer | 10 |
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 |
