mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-25 15:09:05 +01:00
Use right systemd macro to create the user
This commit is contained in:
parent
fdbdb79527
commit
9ece27eec6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user