Bug 243060

Summary: news/nzbget Startup Not Getting full PATH info
Product: Ports & Packages Reporter: sgerlach+bugz
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Only Me    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description sgerlach+bugz 2020-01-03 14:55:55 UTC
When installing the news/nzbget port, the rc.d script (sh script) does not include the bin directories for /usr/local/{s}bin. This causes some alternatively loaded tools to fail (git for instance) when called from nzbget or scripts called by nzbget. I have solved locally by adding the following into the rc script.

export PATH=/usr/local/bin:/usr/local/sbin:$PATH

Just making sure this is, 1) The correct way. 2) Indeed viewed as a bug.