[dev] Enable service netoik-api-server
This commit is contained in:
parent
084ac3bb9e
commit
139c6beab6
|
@ -31,6 +31,7 @@ id %{name} || useradd --no-create-home --shell=%{_sbindir}/nologin --user-group
|
|||
%post
|
||||
systemctl daemon-reload
|
||||
systemctl restart %{name}-server.service
|
||||
systemctl enable %{name}-server.service
|
||||
|
||||
%preun
|
||||
[ $1 -eq 0 ] && systemctl stop %{name}-server.service
|
||||
|
|
Loading…
Reference in New Issue