[Bug 271329] net-mgmt/netdisco: Install instructions in pkg-message broken

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 09 May 2023 11:51:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271329

--- 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 needs
   (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=/usr/local/etc/netdisco available for user
netdisco
     echo "export NETDISCO_HOME=/usr/local/etc/netdisco" >> ~netdisco/.profile
     chown netdisco ~netdisco/.profile
 * launch netdisco-deploy *as user netdisco* to install/upgrade your database
     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)

-- 
You are receiving this mail because:
You are the assignee for the bug.