Date: Tue, 09 May 2023 11:51:08 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271329] net-mgmt/netdisco: Install instructions in pkg-message broken Message-ID: <bug-271329-7788-r2orjFake1@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-271329-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-271329-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271329 --- Comment #1 from geoffroy desvernay <dgeo@centrale-marseille.fr> --- You are right, I did no rewiew this file since a long time. New pkg-message should better read: to get Netdisco running, you just have to: * edit /usr/local/etc/netdisco/environments/deployment.yml to suit your ne= eds (https://github.com/netdisco/netdisco/wiki/Configuration) * edit rc.conf according to /usr/local/etc/rc.d/netdisco * have a look at https://metacpan.org/pod/App::Netdisco note that ~/environments is replaced here by /usr/local/etc/netdisco/environments * make variable NETDISCO_HOME=3D/usr/local/etc/netdisco available for user netdisco echo "export NETDISCO_HOME=3D/usr/local/etc/netdisco" >> ~netdisco/.pr= ofile chown netdisco ~netdisco/.profile * launch netdisco-deploy *as user netdisco* to install/upgrade your databa= se su - netdisco -c "netdisco-deploy" * copy (or link) /usr/local/etc/netdisco/netdiscologs.conf to /usr/local/etc/newsyslog.conf.d/ to take care of logs rotation ln -s /usr/local/etc/netdisco/netdiscologs.conf /usr/local/etc/newsyslog.conf.d/netdiscologs.conf Always use "su - netdisco" or "sudo -l -u netdisco" before running any netdisco-do or netdisco-* command (because of locallib use) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271329-7788-r2orjFake1>