summarylogtreecommitdiffstats
path: root/cyrus-master.service
diff options
context:
space:
mode:
Diffstat (limited to 'cyrus-master.service')
-rw-r--r--cyrus-master.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/cyrus-master.service b/cyrus-master.service
new file mode 100644
index 00000000000..4e1f421063a
--- /dev/null
+++ b/cyrus-master.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Cyrus IMAP mail server
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/lib/cyrus/bin/master -d
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target