[fix] Use sbin/nologin in rpm spec
This commit is contained in:
parent
82c6f7af2a
commit
084ac3bb9e
|
@ -26,7 +26,7 @@ Netoik rest API server
|
|||
%make_install
|
||||
|
||||
%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
|
||||
systemctl daemon-reload
|
||||
|
|
Loading…
Reference in New Issue