Created attachment 175457 [details] Replacement startup script current startup script has following problems: 1. no option to set config file 2. no option to set datadir results in /.bitcoin which fills root directory 3. runs program in foreground as root which hang service start suggest adding bitcoin as user/group to UIDs GIDs the attached patches use 779 as this was a free id just before zetacoin. A new status script template is attached.
Created attachment 175458 [details] patch to /usr/ports/[UG]IDs to add bitcoin user/group
I will take it.
A commit references this bug: Author: araujo Date: Fri Nov 25 06:11:02 UTC 2016 New revision: 427077 URL: https://svnweb.freebsd.org/changeset/ports/427077 Log: - Add a UID/GID for bitcoin. - Rewrite the rc script with new options that allows users to: - set config file. - set datadir. - set bitcoin limits. PR: ports/213235 Submitted by: Christopher Hall <hsw@bitmark.com> Approved by: maintainer timeout (1 month) Changes: head/GIDs head/UIDs head/net-p2p/bitcoin/Makefile head/net-p2p/bitcoin/files/bitcoind.in
Committed, thanks!