From b3030a8d44f232906d3903b016c228691b1527df Mon Sep 17 00:00:00 2001 From: Thomas Roehl Date: Thu, 3 Mar 2022 17:24:32 +0100 Subject: [PATCH] Use right systemd macro to create the user --- scripts/cc-metric-collector.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cc-metric-collector.spec b/scripts/cc-metric-collector.spec index fef1bb8..00a4aa4 100644 --- a/scripts/cc-metric-collector.spec +++ b/scripts/cc-metric-collector.spec @@ -42,7 +42,7 @@ install -Dpm 0644 scripts/%{name}.sysusers %{buildroot}%{_sysusersdir}/%{name}.c # go test should be here... :) %pre -%sysusers_create_compat scripts/%{name}.sysusers +%sysusers_create_package scripts/%{name}.sysusers %post %systemd_post %{name}.service