summaryrefslogtreecommitdiffstats
path: root/dovecot.service.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:36:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:36:47 +0000
commit0441d265f2bb9da249c7abf333f0f771fadb4ab5 (patch)
tree3f3789daa2f6db22da6e55e92bee0062a7d613fe /dovecot.service.in
parentInitial commit. (diff)
downloaddovecot-0441d265f2bb9da249c7abf333f0f771fadb4ab5.tar.xz
dovecot-0441d265f2bb9da249c7abf333f0f771fadb4ab5.zip
Adding upstream version 1:2.3.21+dfsg1.upstream/1%2.3.21+dfsg1
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