Date: Fri, 11 Apr 2014 19:03:26 -0400 From: Daniel Morante <daniel@morante.net> To: ports@FreeBSD.org Subject: Port: net-p2p/zetacoin Message-ID: <534874BE.1060600@morante.net>
next in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format. --------------ms020405050008060808060304 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable I'm updating the port and at the same time making some changes to the=20 rc.d start up script. I have added the option to change the user that zetacoind runs as: : ${zetacoin_user=3D"root"} : ${zetacoin_group=3D"wheel"} zetacoin_create_datadir() { echo "Creating data directory" eval mkdir -p ${zetacoin_datadir} [ $? -eq 0 ] && chown -R ${zetacoin_user}:${zetacoin_group}=20 ${zetacoin_datadir} ln -s ${zetacoin_datadir} /.zetacoin } I'm not sure if I should leave it defaulting to root/wheel or have the=20 port create a "zetacoin" user and group and have it use that to begin wit= h. Should I just let the end user make that decision? The problem I see with defaulting to a "zetacoin" user is that existing=20 installations will need to manually change the owner and group of the=20 data directory. Thoughts? --------------ms020405050008060808060304 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKRzCC BRowggQCoAMCAQICEG0Z6qcZT2ozIuYiMnqqcd4wDQYJKoZIhvcNAQEFBQAwga4xCzAJBgNV BAYTAlVTMQswCQYDVQQIEwJVVDEXMBUGA1UEBxMOU2FsdCBMYWtlIENpdHkxHjAcBgNVBAoT FVRoZSBVU0VSVFJVU1QgTmV0d29yazEhMB8GA1UECxMYaHR0cDovL3d3dy51c2VydHJ1c3Qu Y29tMTYwNAYDVQQDEy1VVE4tVVNFUkZpcnN0LUNsaWVudCBBdXRoZW50aWNhdGlvbiBhbmQg RW1haWwwHhcNMTEwNDI4MDAwMDAwWhcNMjAwNTMwMTA0ODM4WjCBkzELMAkG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kOX5XIw// 7Pb3FEZKsMzzS7jZ0ns9oK9GIHW9HPynbW2eDt2vnniR1ebCfdmAlOIeXLfCPyF0s8Tch8mt 7++qCdymlclzID7MFw0AMWHBrHg1AH1nR+gKEZLfMXw/WQSQkWce5iTzm5IT63TvhXIp7C2F +mYJ4OzSA9Pw+uyliUUgWKSXhU4FRoPHXbvbDY+JfnUtXD1MvXfHhODn0d29QiFjqVw1f/pO Wetcl8kFVR8uP915MxzsNJkZyKNFOYIRr9jnOpCUDn9nEgi7drA8xa9iF+tfbwUfoO2zKmqm 8a+EN/GwrbkIVwAAAAAAAA== --------------ms020405050008060808060304--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?534874BE.1060600>