更新 'install-node_exporter.sh'
parent
459fba274e
commit
b5883e379b
|
@ -7,7 +7,7 @@ rm -r node_exporter-*.linux-amd64*
|
||||||
|
|
||||||
sudo useradd -rs /bin/false node_exporter
|
sudo useradd -rs /bin/false node_exporter
|
||||||
|
|
||||||
sudo cat > /etc/systemd/system/naiveCaddy.service <<EOF
|
sudo cat > /etc/systemd/system/node_exporter.service <<EOF
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Node Exporter
|
Description=Node Exporter
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
|
|
Loading…
Reference in New Issue