[Unit] Description=Postfix Greylisting Service Before=postfix.service [Service] Type=forking EnvironmentFile=/etc/sysconfig/postgrey ExecStartPre=/bin/rm -f /var/run/postgrey.pid PIDFile=/var/run/postgrey.pid ExecStart=/usr/sbin/postgrey --unix=/var/spool/postfix/postgrey/socket --pidfile=/var/run/postgrey.pid --daemonize $POSTGREY_ARGS Restart=always RestartSec=1 [Install] WantedBy=multi-user.target