[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
|
%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
|
||||||
|
|
Loading…
Reference in New Issue