[Feature Request]: Make Nginx, DNSMasq, and FPM-8.2 scripts POSIX compliant #366
rynhndrcksn
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feature Description
This feature would have POSIX compliant scripts for Nginx, DNSMasq, and FPM-8.2
I was trying to get these service to run, but they wouldn't start. After some investigating I found the issue was that I had symlinked my /private/var/select/sh to use
dash
since it's speedier thanbash
orzsh
.The downside to
dash
is that it is a POSIX compliant shell, so non-POSIX compliant scripts will throw errors when they're ran like this screenshot:I switched my /private/var/select/sh to use
bash
instead and the services spun right up without issue.If this is something you'd want to implement then ShellCheck could prove useful. I'm not affiliated with it in anyway, I just use it a lot.
Is this feature valuable for other users as well and why?
Yes, this feature would be valuable for other users as well because everyone likes to customize their machine. By having POSIX compliant scripts, you're ensuring that everyone would be able to run them regardless of what shell they're using.
Beta Was this translation helpful? Give feedback.
All reactions