dovecot-2.2: systemd: Small improvements to the unit configurati...
dovecot at dovecot.org
dovecot at dovecot.org
Mon May 25 00:30:47 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/8dc79a437858
changeset: 18750:8dc79a437858
user: Pascal Volk <user at localhost.localdomain.org>
date: Sun May 17 11:54:42 2015 +0000
description:
systemd: Small improvements to the unit configuration file:
* Added Documentation URIs
* Added ExecReload, to reload the config instead of restarting
* Added a comment for modifying/extending the unit file.
diffstat:
dovecot.service.in | 23 ++++++++++++++++++++++-
1 files changed, 22 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r 6fcaaaf13171 -r 8dc79a437858 dovecot.service.in
--- a/dovecot.service.in Sun May 24 17:55:33 2015 -0400
+++ b/dovecot.service.in Sun May 17 11:54:42 2015 +0000
@@ -1,10 +1,31 @@
+# This file is part of Dovecot
+#
+# If you want to pass additionally command line options to the dovecot
+# binary, create the file:
+# `/etc/systemd/system/dovecot.service.d/service.conf'.
+# In this file create a Service section and configure an Environment with
+# the variable `OPTIONS'. For example:
+#
+# [Service]
+# Environment='OPTIONS=-p'
+#
+# In the `Service' section you may also specify various other setting.
+# If you have trouble with `Too many open files' you may set:
+#LimitCORE=8192
+#
+# If you want to allow the Dovecot services to produce core dumps, use:
+#LimitCORE='infinity'
+
[Unit]
Description=Dovecot IMAP/POP3 email server
+Documentation=man:dovecot(1)
+Documentation=http://wiki2.dovecot.org/
After=local-fs.target network.target
[Service]
Type=simple
-ExecStart=@sbindir@/dovecot -F
+ExecStart=@sbindir@/dovecot -F $OPTIONS
+ExecReload=@sbindir@/dovecot reload
NonBlocking=yes
[Install]
More information about the dovecot-cvs
mailing list