summaryrefslogtreecommitdiff
path: root/.config/systemd/user/dovecot.service
blob: a270ef5795619ca08a91500f80bb94df8e5cf895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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=http://wiki2.dovecot.org/
After=local-fs.target network-online.target

[Service]
Type=simple
ExecStart=/home/lys/.local/sbin/dovecot -c /home/lys/.config/dovecot/dove.conf
PIDFile=/home/lys/.local/var/run/dovecot/master.pid
ExecReload=/home/lys/.local/bin/doveadm reload
ExecStop=/home/lys/.local/bin/doveadm stop
Restart=always
RestartSec=10
# 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=default.target