From: Dan Fuhry Date: Mon, 15 Jan 2024 01:30:52 +0000 (-0500) Subject: fix executable paths in .service files X-Git-Url: https://go.fuhry.dev/?a=commitdiff_plain;h=f0b37b0208eda999950412b6e085a3d2fb381098;p=runtime.git fix executable paths in .service files --- diff --git a/sd/systemd/sd-health-exporter.service b/sd/systemd/sd-health-exporter.service index 81f2680..408b0b7 100644 --- a/sd/systemd/sd-health-exporter.service +++ b/sd/systemd/sd-health-exporter.service @@ -8,7 +8,7 @@ Type=simple User=node_exporter Group=node_exporter Environment=MTLS_IDENTITY=node-exporter -ExecStart=/usr/bin/mtls.id=${MTLS_IDENTITY} +ExecStart=/usr/bin/health-exporter -mtls.id=${MTLS_IDENTITY} [Install] WantedBy=multi-user.target diff --git a/sd/systemd/sd-register.service b/sd/systemd/sd-register.service index fe525ec..0000a8b 100644 --- a/sd/systemd/sd-register.service +++ b/sd/systemd/sd-register.service @@ -7,7 +7,7 @@ After=systemd-networkd-wait-online.service Type=simple User=nobody Group=nobody -ExecStart=/usr/bin/mtls.id=etcd-client -service /etc/runtime/sd +ExecStart=/usr/bin/sd-register -service /etc/runtime/sd [Install] WantedBy=multi-user.target