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

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

[Install]
WantedBy=multi-user.target