From bdeb44ae36227596616f49e51402a1ff8a250853 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sat, 6 Jan 2024 19:47:07 -0600 Subject: [PATCH] collectd: Start after install The *collectd.service* unit is now starged automatically after it is installed on first boot. --- collectd.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/collectd.yaml b/collectd.yaml index 1c227b5..3f3c63c 100644 --- a/collectd.yaml +++ b/collectd.yaml @@ -4,7 +4,7 @@ version: 1.4.0 ignition: config: merge: - - local: packages.yaml + - local: packages.ign storage: files: @@ -73,6 +73,10 @@ storage: [Install] WantedBy=multi-user.target + links: + - path: /etc/systemd/system/after-install.target.wants/collectd.service + target: /usr/lib/systemd/system/collectd.service + systemd: units: - name: collectd.service