summaryrefslogtreecommitdiffstats
path: root/dovecot.service.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:51:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:51:24 +0000
commitf7548d6d28c313cf80e6f3ef89aed16a19815df1 (patch)
treea3f6f2a3f247293bee59ecd28e8cd8ceb6ca064a /dovecot.service.in
parentInitial commit. (diff)
downloaddovecot-f7548d6d28c313cf80e6f3ef89aed16a19815df1.tar.xz
dovecot-f7548d6d28c313cf80e6f3ef89aed16a19815df1.zip
Adding upstream version 1:2.3.19.1+dfsg1.upstream/1%2.3.19.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dovecot.service.in')
-rw-r--r--dovecot.service.in35
1 files changed, 35 insertions, 0 deletions
diff --git a/dovecot.service.in b/dovecot.service.in
new file mode 100644
index 0000000..3455cce
--- /dev/null
+++ b/dovecot.service.in
@@ -0,0 +1,35 @@
+# This file is part of Dovecot
+#
+# DO NOT CUSTOMIZE THIS FILE, INSTEAD
+# create the file:
+# `/etc/systemd/system/dovecot.service.d/service.conf'.
+# or copy this as
+# `/etc/systemd/system/dovecot.service` and edit then
+# and put your changes there
+
+[Unit]
+Description=Dovecot IMAP/POP3 email server
+Documentation=man:dovecot(1)
+Documentation=https://doc.dovecot.org/
+After=local-fs.target network-online.target
+
+[Service]
+Type=@systemdservicetype@
+ExecStart=@sbindir@/dovecot -F
+ExecReload=@bindir@/doveadm reload
+ExecStop=@bindir@/doveadm stop
+PrivateTmp=true
+NonBlocking=yes
+ProtectSystem=full
+ProtectHome=no
+PrivateDevices=true
+
+# You can add environment variables with e.g.:
+#Environment='CORE_OUTOFMEM=1'
+# If you have trouble with `Too many open files', increase
+LimitNOFILE=65535
+# If you want to allow the Dovecot services to produce core dumps, use:
+#LimitCORE=infinity
+
+[Install]
+WantedBy=multi-user.target