-
-
Save anonymous/83369ebd3f577af5091fcdbfbcaccffd to your computer and use it in GitHub Desktop.
Allowing node to listen below port 1000 with salt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
libcap2-bin: | |
pkg.installed | |
node-port-access: | |
cmd.run: | |
- user: root | |
- name: | | |
setcap cap_net_bind_service=+ep `readlink -f \`which node\`` | |
- require: | |
- pkg: libcap2-bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment