On Tue, Dec 18, 2018 at 12:22:58PM +0000, Edd Barrett wrote:
> On Tue, Dec 18, 2018 at 01:09:39PM +0100, Antoine Jacoutot wrote:
> > I think daemon_flags should go directly in the daemon variable because that 
> > is
> > required for go-ipfs to actually daemonize, right?
> 
> Correct.
> 
> OK?

Yup, thanks.

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/net/go-ipfs/Makefile,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 Makefile
> --- Makefile  18 Dec 2018 11:58:21 -0000      1.1.1.1
> +++ Makefile  18 Dec 2018 12:22:05 -0000
> @@ -5,6 +5,7 @@ COMMENT =     global, versioned, peer-to-pee
>  V =          0.4.18
>  DISTNAME =   go-ipfs-source
>  PKGNAME =    go-ipfs-$V
> +REVISION =   0
>  
>  CATEGORIES = net
>  HOMEPAGE =   https://ipfs.io
> Index: pkg/go_ipfs.rc
> ===================================================================
> RCS file: /cvs/ports/net/go-ipfs/pkg/go_ipfs.rc,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 go_ipfs.rc
> --- pkg/go_ipfs.rc    18 Dec 2018 11:58:21 -0000      1.1.1.1
> +++ pkg/go_ipfs.rc    18 Dec 2018 12:22:05 -0000
> @@ -2,9 +2,8 @@
>  #
>  # $OpenBSD: go_ipfs.rc,v 1.1.1.1 2018/12/18 11:58:21 edd Exp $
>  
> -daemon="${TRUEPREFIX}/bin/ipfs"
> +daemon="${TRUEPREFIX}/bin/ipfs daemon"
>  daemon_user="_go-ipfs"
> -daemon_flags="daemon"
>  daemon_timeout=60
>  
>  . /etc/rc.d/rc.subr
> 
> -- 
> Best Regards
> Edd Barrett
> 
> http://www.theunixzoo.co.uk
> 

-- 
Antoine

Reply via email to