diff --git a/milters/pagure_milter.service b/milters/pagure_milter.service new file mode 100644 index 0000000..7cc6b01 --- /dev/null +++ b/milters/pagure_milter.service @@ -0,0 +1,14 @@ +[Unit] +Description=Pagure SMTP filter (Milter) Daemon (talk to postfix over a socket) +After=postfix.target +Documentation=https://github.com/pypingou/pagure + +[Service] +ExecStart=/usr/bin/python2 /usr/share/pagure/comment_email_milter.py +Type=simple +User=postfix +Group=postfix +Restart=on-failure + +[Install] +WantedBy=multi-user.target