sudo is not in base anymore. show how to use su in README

ok sthen@
This commit is contained in:
kirby 2015-07-06 12:13:54 +00:00
parent b31860cf40
commit 677c029eaf
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.47 2014/11/28 08:39:41 kirby Exp $
# $OpenBSD: Makefile,v 1.48 2015/07/06 12:13:54 kirby Exp $
PORTROACH = limitw:1,even
@ -9,6 +9,7 @@ V = 2.0.25
DISTNAME = munin-$V
PKGNAME-main = munin-node-$V
PKGNAME-server =munin-server-$V
REVISION-server=0
CATEGORIES = net
HOMEPAGE = http://munin-monitoring.org/

View File

@ -1,4 +1,4 @@
$OpenBSD: README-server,v 1.5 2014/07/22 10:55:40 ajacoutot Exp $
$OpenBSD: README-server,v 1.6 2015/07/06 12:13:54 kirby Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -8,7 +8,7 @@ After configuring at least one munin-node instance and adapting
${SYSCONFDIR}/munin/munin.conf as desired, you may run the periodic
tasks from cron with the following line:
*/5 * * * * sudo -u _munin ${TRUEPREFIX}/bin/munin-cron
*/5 * * * * su -s /bin/sh _munin ${TRUEPREFIX}/bin/munin-cron
Log files in /var/log/munin will need to be rotated. Here is a sample
newsyslog.conf fragment: