Mercurial > dovecot > core-2.2
changeset 21347:3ceea78a5cc8
dovecot.service.in: Improve [service] examples
Move them inside [service] section so that simply uncommenting them works.
Also give a better example of how Environment might be used.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Thu, 22 Dec 2016 10:48:27 -0500 |
parents | 9827c9f165a9 |
children | 4fdcc8318efc |
files | dovecot.service.in |
diffstat | 1 files changed, 7 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/dovecot.service.in Wed Dec 21 21:33:35 2016 +0200 +++ b/dovecot.service.in Thu Dec 22 10:48:27 2016 -0500 @@ -3,18 +3,6 @@ # 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: -#LimitNOFILE=8192 -# -# If you want to allow the Dovecot services to produce core dumps, use: -#LimitCORE=infinity [Unit] Description=Dovecot IMAP/POP3 email server @@ -33,5 +21,12 @@ # Enable this if your systemd is new enough to support it: #ProtectSystem=full +# You can add environment variables with e.g.: +#Environment='CORE_OUTOFMEM=1' +# If you have trouble with `Too many open files' you may set: +#LimitNOFILE=8192 +# If you want to allow the Dovecot services to produce core dumps, use: +#LimitCORE=infinity + [Install] WantedBy=multi-user.target