[Bug 272162] sysutils/nomad: nomad is ignoring the etc directory
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Jun 2023 12:41:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272162 Bug ID: 272162 Summary: sysutils/nomad: nomad is ignoring the etc directory Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: jhixson@FreeBSD.org Reporter: p.mousavizadeh@protonmail.com Assignee: jhixson@FreeBSD.org Flags: maintainer-feedback?(jhixson@FreeBSD.org) Hi, it seems like Nomad does not read the `/usr/local/etc/nomad/` directory for its configuration or using it as its '-config' flag. So by default nomad will not run/start with `service nomad start` command and we have to edit the rc.d/nomad file read its etc config files. I see various options to correct this: 1. Make it to read files inside /usr/local/etc/nomad/ directory as its config files. 2. Add a ${nomad_config} variable to use it as -config flag if available. 3. Add a ${nomad_mode} variable to determine whether it's a server, client, or dev mode. furthermore completely ignore etc directory and make users to use the ${nomad_args} variable for hcl config files if they want. IMHO, the first option will be compatible with the principle of least surprise (POLA). -- You are receiving this mail because: You are the assignee for the bug.