mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 13:10:26 +08:00 
			
		
		
		
	systemd服务增加BEGIN INIT INFO
This commit is contained in:
		@@ -111,7 +111,8 @@ func (this *ServiceManager) installSystemdService(systemd, exePath string, args
 | 
				
			|||||||
	shortName := teaconst.SystemdServiceName
 | 
						shortName := teaconst.SystemdServiceName
 | 
				
			||||||
	longName := "GoEdge Admin" // TODO 将来可以修改
 | 
						longName := "GoEdge Admin" // TODO 将来可以修改
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	desc := `# Provides:          ` + shortName + `
 | 
						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