Skip to content

Commit

Permalink
Add opendmarc.service to contrib, from Steve Jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
Murray S. Kucherawy committed Mar 29, 2015
1 parent bbe9325 commit 2edf31a
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,8 @@ AC_OUTPUT([ Makefile
contrib/init/redhat/Makefile
contrib/init/redhat/opendmarc
contrib/rddmarc/Makefile
contrib/service/Makefile
contrib/service/opendmarc.service
contrib/spec/Makefile
contrib/spec/opendmarc.spec
db/Makefile
Expand Down
2 changes: 1 addition & 1 deletion contrib/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) 2012, The Trusted Domain Project. All rights reserved.

SUBDIRS = init rddmarc spec
SUBDIRS = init rddmarc service spec

dist_doc_DATA = README
7 changes: 7 additions & 0 deletions contrib/service/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (c) 2015, The Trusted Domain Project. All rights reserved.

AUTOMAKE_OPTIONS = foreign

dist_doc_DATA = opendmarc.service.in

EXTRA_DIST = opendmarc.service
16 changes: 16 additions & 0 deletions contrib/service/opendmarc.service.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[Unit]
Description=Domain-based Message Authentication, Reporting & Conformance (DMARC) Milter
Documentation=man:opendmarc(8) man:opendmarc.conf(5) man:opendmarc-import(8) man:opendmarc-reports(8) http://www.trusteddomain.org/opendmarc/
After=network.target nss-lookup.target syslog.target

[Service]
Type=forking
PIDFile=@localstatedir@/run/opendmarc/opendmarc.pid
EnvironmentFile=-@sysconfdir@/sysconfig/opendmarc
ExecStart=@sbindir@/opendmarc $OPTIONS
ExecReload=/bin/kill -USR1 $MAINPID
User=opendmarc
Group=opendmarc

[Install]
WantedBy=multi-user.target

0 comments on commit 2edf31a

Please sign in to comment.