aboutsummaryrefslogtreecommitdiffstats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/offlineimap.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/offlineimap.service b/user/offlineimap.service
new file mode 100644
index 0000000..22265f4
--- /dev/null
+++ b/user/offlineimap.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=OfflineIMAP
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/offlineimap
+KillSignal=SIGUSR2
+Restart=always
+
+[Install]
+WantedBy=default.target