From e5ffeb230f6ceb825c09282b1dd737f1e17fb7bf Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Wed, 28 Sep 2022 08:17:25 +0800 Subject: [PATCH] =?UTF-8?q?systemd=E6=9C=8D=E5=8A=A1=E5=A2=9E=E5=8A=A0BEGI?= =?UTF-8?q?N=20INIT=20INFO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/utils/service_linux.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/utils/service_linux.go b/internal/utils/service_linux.go index ff7885d..69cc482 100644 --- a/internal/utils/service_linux.go +++ b/internal/utils/service_linux.go @@ -114,7 +114,8 @@ func (this *ServiceManager) installSystemdService(systemd, exePath string, args var shortName = teaconst.SystemdServiceName var longName = "GoEdge Node" // TODO 将来可以修改 - var desc = `# Provides: ` + shortName + ` + var desc = `### BEGIN INIT INFO +# Provides: ` + shortName + ` # Required-Start: $all # Required-Stop: # Default-Start: 2 3 4 5