Skip to content

Instantly share code, notes, and snippets.

@smfreegard
Created May 11, 2015 14:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smfreegard/9bd9932163c547a57aa4 to your computer and use it in GitHub Desktop.
Save smfreegard/9bd9932163c547a57aa4 to your computer and use it in GitHub Desktop.
[Unit]
Description=Haraka SMTP service daemon
After=syslog.target network.target spamassassin.service clamd@haraka.service
Conflicts=postfix.service sendmail.service exim.service
[Service]
LimitNOFILE=infinity
# The ?'s are to allow the process_title plugin enough room
# to rewrite the process title and not run out of space.
ExecStart=/usr/bin/haraka -c /etc/haraka ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
ExecReload=/bin/kill -HUP $MAINPID
SyslogFacility=mail
StandardOutput=syslog
StandardError=syslog
Restart=always
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment