From 139c6beab69a686c41c6b3431609d3bf004615a5 Mon Sep 17 00:00:00 2001 From: samuel Date: Thu, 2 Feb 2023 17:24:27 +0100 Subject: [PATCH] [dev] Enable service netoik-api-server --- netoik-api.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/netoik-api.spec b/netoik-api.spec index 1ac74ea..56a065a 100644 --- a/netoik-api.spec +++ b/netoik-api.spec @@ -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