write the service directly into place
This commit is contained in:
parent
facf699c22
commit
a8ce5a7ebf
@ -31,3 +31,4 @@ Installing a collector for the metrics now available on `:9100` is left as an ex
|
||||
|
||||
* <https://tailscale.com/blog/steam-deck/>
|
||||
* <https://blogs.igalia.com/berto/2022/09/13/adding-software-to-the-steam-deck-with-systemd-sysext/>
|
||||
* <https://forum.tailscale.com/t/steam-deck-support/2583/7>
|
||||
|
@ -13,7 +13,7 @@ mkdir -p prometheus/usr/{bin,lib/{systemd/system,extension-release.d}}
|
||||
tar xzf node-exporter.tgz
|
||||
|
||||
cp -vrf node_exporter-*/node_exporter prometheus/usr/bin/node_exporter
|
||||
cat > prometheus/usr/lib/systemd/system/prometheus-node-exporter.service <<- EOM
|
||||
cat > /etc/systemd/system/prometheus-node-exporter.service <<- EOM
|
||||
[Unit]
|
||||
Description=Prometheus exporter for machine metrics
|
||||
Requires=network-online.target
|
||||
|
Loading…
Reference in New Issue
Block a user