Skip to content

Commit

Permalink
add rcscript
Browse files Browse the repository at this point in the history
ok ajacoutot steven (MAINTAINER)
  • Loading branch information
William Yodlowsky committed Sep 14, 2011
1 parent 63bec70 commit 96694f4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
3 changes: 2 additions & 1 deletion sysutils/syslog-ng/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.21 2011/05/01 13:48:32 steven Exp $
# $OpenBSD: Makefile,v 1.22 2011/09/14 02:34:06 william Exp $

COMMENT= syslogd replacement

V = 3.1.4
DISTNAME = syslog-ng-$V
REVISION = 0
CATEGORIES = sysutils

MAINTAINER = Steven Mestdagh <[email protected]>
Expand Down
3 changes: 2 additions & 1 deletion sysutils/syslog-ng/pkg/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.8 2010/09/24 17:54:16 steven Exp $
@comment $OpenBSD: PLIST,v 1.9 2011/09/14 02:34:06 william Exp $
@bin bin/pdbtool
bin/update-patterndb
@man man/man1/pdbtool.1
Expand All @@ -10,3 +10,4 @@ share/examples/syslog-ng/
@sample ${SYSCONFDIR}/syslog-ng/
share/examples/syslog-ng/syslog-ng.conf.sample
@sample ${SYSCONFDIR}/syslog-ng/syslog-ng.conf
@rcscript ${RCDIR}/syslog_ng
9 changes: 9 additions & 0 deletions sysutils/syslog-ng/pkg/syslog_ng.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
#
# $OpenBSD: syslog_ng.rc,v 1.1 2011/09/14 02:34:06 william Exp $

daemon="${PREFIX}/sbin/syslog-ng"

. /etc/rc.d/rc.subr

rc_cmd $1

0 comments on commit 96694f4

Please sign in to comment.