Hacker News new | ask | show | jobs
by ceequof 4042 days ago
`service nginx configtest` does the same thing.
1 comments

That's good to know too, yes, but using the nginx binary itself to test is always available, whilst a service command normally involves an init script, systemd config file or similar to be available, and they can vary between packages and distributions.