summaryrefslogtreecommitdiff
path: root/.config/systemd
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-26 00:12:29 +0300
committerThomas Voss <mail@thomasvoss.com> 2023-08-26 00:13:04 +0300
commit70bd6d02a32e1225337944bac6bbb169ab9cbc4e (patch)
tree5ac3b4d8c41bb4062d9972034beb7ea04e86c0c4 /.config/systemd
parente20b6c699b10ef53cd63f5ffc93c8a8b2ebb1672 (diff)
systemd: Add timer for send-package
Diffstat (limited to '.config/systemd')
-rw-r--r--.config/systemd/user/send-package.service10
-rw-r--r--.config/systemd/user/send-package.timer9
2 files changed, 19 insertions, 0 deletions
diff --git a/.config/systemd/user/send-package.service b/.config/systemd/user/send-package.service
new file mode 100644
index 0000000..3f26550
--- /dev/null
+++ b/.config/systemd/user/send-package.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Do Not Ask
+
+[Service]
+Type=oneshot
+ExecStart=/home/thomas/.local/bin/send-package
+Environment=PATH=/home/thomas/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin
+
+[Install]
+WantedBy=default.target
diff --git a/.config/systemd/user/send-package.timer b/.config/systemd/user/send-package.timer
new file mode 100644
index 0000000..4f8bcc6
--- /dev/null
+++ b/.config/systemd/user/send-package.timer
@@ -0,0 +1,9 @@
+[Unit]
+Description=Do Not Ask
+
+[Timer]
+OnCalendar=daily
+Persistent=true
+
+[Install]
+WantedBy=timers.target