bugfix: also enable on restart on linux
Este cometimento está contido em:
		
							ascendente
							
								
									dd25ba0787
								
							
						
					
					
						cometimento
						8e1bd12df7
					
				| @ -52,6 +52,12 @@ func start(conf *service.Service) error { | ||||
| 				Args: []string{"stop", name + ".service"}, | ||||
| 				Must: false, | ||||
| 			}, | ||||
| 			Runnable{ | ||||
| 				Exec:     "systemctl", | ||||
| 				Args:     []string{"enable", name + ".service"}, | ||||
| 				Badwords: []string{"not found", "failed"}, | ||||
| 				Must:     true, | ||||
| 			}, | ||||
| 			Runnable{ | ||||
| 				Exec:     "systemctl", | ||||
| 				Args:     []string{"start", name + ".service"}, | ||||
|  | ||||
		Carregando…
	
	
			
			x
			
			
		
	
		Criar uma nova questão referindo esta
	
	Bloquear um utilizador