Add a dedicated _icingacmd group for use with icinga2 command pipes and livestatus
This commit is contained in:
parent
c496c04b9e
commit
e46dad478d
@ -1,4 +1,4 @@
|
||||
$OpenBSD: user.list,v 1.227 2014/06/17 12:31:09 ajacoutot Exp $
|
||||
$OpenBSD: user.list,v 1.228 2014/06/27 00:09:29 sthen Exp $
|
||||
|
||||
This file lists all users and groups that are created by ports or that
|
||||
users are encouraged to create after installing a port (these are marked
|
||||
@ -242,3 +242,4 @@ id user group port options
|
||||
731 _geoclue _geoclue geo/geoclue2
|
||||
732 _unifi _unifi net/unifi
|
||||
733 _pop3d _pop3d mail/pop3d
|
||||
734 _icingacmd net/icinga
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2014/06/24 16:51:35 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2014/06/27 00:09:29 sthen Exp $
|
||||
|
||||
# THIS IS A WORK IN PROGRESS, IT IS NOT YET READY FOR USE.
|
||||
#
|
||||
@ -79,7 +79,7 @@ CONFIGURE_ARGS += \
|
||||
-DCMAKE_INSTALL_SYSCONFDIR:String="${SYSCONFDIR}" \
|
||||
-DCMAKE_INSTALL_LOCALSTATEDIR:String="${LOCALSTATEDIR}" \
|
||||
-DICINGA2_COMMAND_USER:String="_icinga" \
|
||||
-DICINGA2_COMMAND_GROUP:String="_icinga" \
|
||||
-DICINGA2_COMMAND_GROUP:String="_icingacmd" \
|
||||
-DICINGA2_USER:String="_icinga" \
|
||||
-DICINGA2_GROUP:String="_icinga" \
|
||||
-DICINGA2_GIT_VERSION_INFO:Boolean="OFF" \
|
||||
|
@ -1,6 +1,7 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.3 2014/06/22 20:29:51 sthen Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.4 2014/06/27 00:09:29 sthen Exp $
|
||||
@newgroup _icinga:667
|
||||
@newuser _icinga:667:_icinga:daemon:Icinga user:/var/icinga:/sbin/nolog
|
||||
@newgroup _icingacmd:734
|
||||
@newuser _icinga:667:_icinga:daemon:Icinga user:/var/icinga:/sbin/nologin
|
||||
@extraunexec rm -rf ${SYSCONFDIR}/icinga2/etc*
|
||||
@extraunexec rm -rf ${LOCALSTATEDIR}/lib/icinga2/*
|
||||
@extraunexec rm -rf ${LOCALSTATEDIR}/log/icinga2/*
|
||||
|
Loading…
Reference in New Issue
Block a user