[fix] Use sbin/nologin in rpm spec

This commit is contained in:
samuel 2023-02-02 16:55:30 +01:00
parent 82c6f7af2a
commit 084ac3bb9e
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ Netoik rest API server
%make_install %make_install
%pre %pre
id %{name} || useradd --no-create-home --shell=%(which nologin) --user-group %{name} id %{name} || useradd --no-create-home --shell=%{_sbindir}/nologin --user-group %{name}
%post %post
systemctl daemon-reload systemctl daemon-reload