Place host-specific service configuration according to the FHS.
Which base directory is appropriate?
FHS defines /etc for host-specific system configuration; it is not the normal location for executable binaries.
Detailed explanation
/var/logIncorrect. /var/log stores changing log data.
/usr/binIncorrect. /usr/bin stores user commands.
/homeIncorrect. /home stores user data.
/etcCorrect. /etc is the standard host-configuration hierarchy.
Try it yourself
An example you can run in a temporary verification environment.
test -d /etc && printf '/etc exists\n'Expected result
/etc existsKey points
- /etc is host-specific config
- Static configuration
- Not a binary directory
Notes
- Environment: FHS準拠Linux / ディレクトリ存在確認のみ
- Use read-only lookups or disposable paths when verifying search behavior.
- Distribution-specific defaults should be checked before changing system configuration.
Foundation review
Place the operation
A service's host-specific configuration belongs with system configuration rather than logs, homes, or executable commands.
Check the side effect
Follow the package or service documentation when it defines a more specific subdirectory under the standard hierarchy.