> > The upgrade must be done *before* upgrading. If a user already ran
> > `pkg_add -u`, it will be a pain to reinstall the old minio version
> > (libs bump and co)... unless we provide both version in the ports
> > tree. So, should we do this?

It seems a good idea to provide both.

> > /usr/ports/net/minio/server$ cat pkg/minio.login   
> > minio:\
> >     :openfiles-cur=4096:\
> >     :openfiles-max=8192:\
> >     :setenv=MINIO_ROOT_USER=root,MINIO_ROOT_PASSWORD=yourstrongpassword:\
> >     :tc=daemon:
> > (and got rid of the README).
> > 
> > But if I understand correctly pkg_create(1), the
> > `@sample ${SYSCONFDIR}/login.conf.d/minio` means it will be installed
> > verbatim, which is not acceptable. I guess the README should be
> > reinstated?

I'd install the login file with a dummy password and tell the user to
change it, either in README or a brief MESSAGE.

Reply via email to