From ba09603a4b69806ab9202fc9037e5fef1f583f73 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 28 2015 18:40:58 +0000 Subject: Add the systemd service file to start the pagure milter --- 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