| Summary: | net-mgmt/nsca -- fix rc script | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Matthew Seaman <m.seaman> | ||||
| Component: | Individual Port(s) | Assignee: | Alejandro Pulver <alepulver> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Responsible Changed From-To: freebsd-ports-bugs->alepulver I'll take it. alepulver 2006-11-06 00:21:59 UTC
FreeBSD ports repository
Modified files:
net-mgmt/nsca/files nsca.sh.in
Log:
- Fix rc.d script.
PR: ports/104906
Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk>
Revision Changes Path
1.2 +4 -5 ports/net-mgmt/nsca/files/nsca.sh.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks! |
The /usr/local/etc/rc.d/nsca rc script is unusable as currently supplied: * The ncsa command is installed as /usr/local/sbin/nsca not /usr/local/libexec/nagios/nsca * /var/spoo/nagios/nsca.lock does not contain a PID. The default in version 2.6 seems to be to use /var/run/nsca.pid * Starting nsca as user nagios from the rc script prevents the process from chrooting. nsca will chroot, change UID to nagios and drop privileges itself, if those things are set in the config file. * nsca will reload itself when sent a HUP signal. * ncsa_flags get incorporated into the command line twice