aboutsummaryrefslogtreecommitdiffstats
path: root/services/.config/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'services/.config/systemd')
-rw-r--r--services/.config/systemd/user/clipboard.service9
-rw-r--r--services/.config/systemd/user/mailnotify.service9
-rw-r--r--services/.config/systemd/user/mbsync.service7
-rw-r--r--services/.config/systemd/user/mbsync.timer10
4 files changed, 35 insertions, 0 deletions
diff --git a/services/.config/systemd/user/clipboard.service b/services/.config/systemd/user/clipboard.service
new file mode 100644
index 0000000..b34df49
--- /dev/null
+++ b/services/.config/systemd/user/clipboard.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Clipboard management through Syncthing.
+
+[Service]
+Type=simple
+ExecStart=/home/ymherklotz/.local/bin/clipboard.sh
+
+[Install]
+WantedBy=default.target
diff --git a/services/.config/systemd/user/mailnotify.service b/services/.config/systemd/user/mailnotify.service
new file mode 100644
index 0000000..cf0b39f
--- /dev/null
+++ b/services/.config/systemd/user/mailnotify.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Mailbox notification service
+
+[Service]
+Type=simple
+ExecStart=/home/ymherklotz/.local/bin/mailnotify.sh
+
+[Install]
+WantedBy=default.target
diff --git a/services/.config/systemd/user/mbsync.service b/services/.config/systemd/user/mbsync.service
new file mode 100644
index 0000000..c5047ec
--- /dev/null
+++ b/services/.config/systemd/user/mbsync.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Mailbox synchronization service
+After=network.target network-online.target dbus.socket
+
+[Service]
+Type=oneshot
+ExecStart=/home/ymherklotz/.local/bin/mail.sh
diff --git a/services/.config/systemd/user/mbsync.timer b/services/.config/systemd/user/mbsync.timer
new file mode 100644
index 0000000..bd6ba12
--- /dev/null
+++ b/services/.config/systemd/user/mbsync.timer
@@ -0,0 +1,10 @@
+[Unit]
+Description=Mailbox synchronization timer
+
+[Timer]
+OnBootSec=2m
+OnUnitActiveSec=2m
+Unit=mbsync.service
+
+[Install]
+WantedBy=timers.target