Use right systemd macro to create the user

This commit is contained in:
Thomas Roehl 2022-03-03 17:26:32 +01:00
parent fdbdb79527
commit 9ece27eec6

View File

@ -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