sudo(8) -> su(1)

This commit is contained in:
ajacoutot 2015-07-18 06:15:08 +00:00
parent 6db2ccd474
commit 897cb7e3aa
2 changed files with 7 additions and 8 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.29 2015/07/16 00:09:32 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.30 2015/07/18 06:15:08 ajacoutot Exp $
COMMENT = continuous integration framework
MODPY_EGG_VERSION = 0.8.12
DISTNAME = buildbot-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:S/p/pl/}
REVISION = 0
REVISION = 1
CATEGORIES = devel

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.3 2012/01/09 19:56:55 landry Exp $
$OpenBSD: README,v 1.4 2015/07/18 06:15:08 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -9,7 +9,7 @@ running the master. The default master directory is expected to be
found in ${HOMEDIR}. Before being run for the first time, the
master directory must be initialized. This is done as follows:
$ sudo -u _buildbot buildbot create-master ${HOMEDIR}
# su -m _buildbot -c "buildbot create-master ${HOMEDIR}"
The next step is to create a ${HOMEDIR}/master.cfg configuration
file that fits your needs. Please refer to the BuildBot documentation
@ -31,11 +31,10 @@ Upgrading
If you're upgrading SQLite-based BuildBot from older release, you must
migrate its database before the first run using following command:
$ sudo -u _buildbot buildbot upgrade-master ${HOMEDIR}
# su -m _buildbot -c "buildbot upgrade-master ${HOMEDIR}"
If you're using BuildBot with either MySQL or PostgreSQL database, you
must also pass the connection string:
$ sudo -u _buildbot buildbot upgrade-master \
--db=postgresql://buildbot:<password>@localhost/buildbot \
${HOMEDIR}
# su -m _buildbot -c "buildbot upgrade-master \
--db=postgresql://buildbot:<password>@localhost/buildbot ${HOMEDIR}"