[dev] Enable service netoik-api-server

This commit is contained in:
samuel 2023-02-02 17:24:27 +01:00
parent 084ac3bb9e
commit 139c6beab6
1 changed files with 1 additions and 0 deletions

View File

@ -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