aboutsummaryrefslogtreecommitdiff
path: root/config/systemd/user
diff options
context:
space:
mode:
Diffstat (limited to 'config/systemd/user')
-rw-r--r--config/systemd/user/allsync.service6
-rw-r--r--config/systemd/user/allsync.timer8
2 files changed, 14 insertions, 0 deletions
diff --git a/config/systemd/user/allsync.service b/config/systemd/user/allsync.service
new file mode 100644
index 0000000..fbcea1f
--- /dev/null
+++ b/config/systemd/user/allsync.service
@@ -0,0 +1,6 @@
+[Unit]
+Description=Allsync
+
+[Service]
+ExecStart="/home/cynerd/.local/bin/allsync"
+Environment="AUTORUN=y"
diff --git a/config/systemd/user/allsync.timer b/config/systemd/user/allsync.timer
new file mode 100644
index 0000000..f7c2e68
--- /dev/null
+++ b/config/systemd/user/allsync.timer
@@ -0,0 +1,8 @@
+[Unit]
+Description=Run allsync every two minutes
+
+[Timer]
+OnCalendar=*:0/2
+
+[Install]
+WantedBy=timers.target