mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-09 03:50:27 +08:00
systemd服务增加BEGIN INIT INFO
This commit is contained in:
@@ -114,7 +114,8 @@ func (this *ServiceManager) installSystemdService(systemd, exePath string, args
|
|||||||
var shortName = teaconst.SystemdServiceName
|
var shortName = teaconst.SystemdServiceName
|
||||||
var longName = "GoEdge Node" // TODO 将来可以修改
|
var longName = "GoEdge Node" // TODO 将来可以修改
|
||||||
|
|
||||||
var desc = `# Provides: ` + shortName + `
|
var desc = `### BEGIN INIT INFO
|
||||||
|
# Provides: ` + shortName + `
|
||||||
# Required-Start: $all
|
# Required-Start: $all
|
||||||
# Required-Stop:
|
# Required-Stop:
|
||||||
# Default-Start: 2 3 4 5
|
# Default-Start: 2 3 4 5
|
||||||
|
|||||||
Reference in New Issue
Block a user