Compare commits
1 Commits
74f3b0a11f
...
d40680dbc1
Author | SHA1 | Date | |
---|---|---|---|
d40680dbc1 |
@ -27,7 +27,7 @@ ExecStart=/opt/node_exporter/node_exporter --web.listen-address=":9200"
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable --now node_exporter
|
||||
if [ -x $(command -v firewall-cmd) ]
|
||||
if [ command -v firewall-cmd &> /dev/null ]
|
||||
then
|
||||
firewall-cmd --zone=internal --add-port=9200/tcp --permanent
|
||||
firewall-cmd --reload
|
||||
|
Loading…
x
Reference in New Issue
Block a user