File nullmailer.service of Package nullmailer
# (C) 2011 Peter Conrad <conrad@quisquis.de>
#
# This file is licensed under the terms of the
# GNU General Public License Version 2. A copy of these terms should be
# enclosed as "COPYING" in the package containing this file.
[Unit]
Description=Nullmailer relay-only MTA
After=local-fs.target
ConditionPathExists=/var/spool/nullmailer/queue
[Install]
WantedBy=multi-user.target
WantedBy=mail-transfer-agent.target
[Service]
WorkingDirectory=/var/spool/nullmailer
ExecStart=/usr/sbin/nullmailer-send
User=mail
StandardInput=null
StandardOutput=syslog
StandardError=inherit
SyslogFacility=mail
SyslogIdentifier=nullmailer
SyslogLevel=notice
SyslogLevelPrefix=false
Restart=always