Use right systemd macro to create the user

This commit is contained in:
Thomas Roehl 2022-03-03 17:24:32 +01:00
parent 948c34d74d
commit b3030a8d44

View File

@ -42,7 +42,7 @@ install -Dpm 0644 scripts/%{name}.sysusers %{buildroot}%{_sysusersdir}/%{name}.c
# go test should be here... :) # go test should be here... :)
%pre %pre
%sysusers_create_compat scripts/%{name}.sysusers %sysusers_create_package scripts/%{name}.sysusers
%post %post
%systemd_post %{name}.service %systemd_post %{name}.service