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