Skip to content

Commit

Permalink
add sysuser definition to rpm spec
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Nov 14, 2024
1 parent ea9f82d commit 1f47b01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bley.spec
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ for file in bley.conf whitelist_clients whitelist_recipients; do
$RPM_BUILD_ROOT%{_sysconfdir}/%{name}/${file}
done

install -D -m644 %{name}-sysusers.conf $RPM_BUILD_ROOT%{_sysusersdir}/%{name}.conf

%post
%systemd_post %{name}.service
Expand All @@ -75,6 +76,7 @@ done
%{_mandir}/man1/%{name}.1.gz
%{_mandir}/man1/%{name}graph.1.gz
%{_unitdir}/%{name}.service
%{_sysusersdir}/%{name}.conf

%files logcheck
%doc CHANGELOG.md README.md
Expand Down

0 comments on commit 1f47b01

Please sign in to comment.