diff --git a/netoik-api.spec b/netoik-api.spec index dc448e1..1ac74ea 100644 --- a/netoik-api.spec +++ b/netoik-api.spec @@ -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