summarylogtreecommitdiffstats
path: root/courier-imapd.service
blob: 85f694408de9c9a2fa75dd30705c5c8d27f2f574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Courier IMAP Daemon
Requires=authdaemond.service
After=authdaemond.service

[Service]
Type=forking
ExecStartPre=[ -d /var/run/courier ] || mkdir -p /var/run/courier && chown courier:courier /var/run/courier
ExecStart=/usr/sbin/imapd start
ExecStop=/usr/sbin/imapd stop
PIDFile=/var/run/courier/imapd.pid

[Install]
WantedBy=multi-user.target