Make ensure-garage a oneshot service
				
					
				
			This commit is contained in:
		
							parent
							
								
									e7b82d5c54
								
							
						
					
					
						commit
						10a38cdf6d
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -166,6 +166,9 @@ in { | |||
|     systemd.services.ensure-garage = { | ||||
|       after = [ "garage.service" ]; | ||||
|       wantedBy = [ "garage.service" ]; | ||||
|       serviceConfig = { | ||||
|         Type = "oneshot"; | ||||
|       }; | ||||
|       path = [ cfg.package pkgs.perl pkgs.awscli ]; | ||||
|       script = '' | ||||
|         set -xeuo pipefail | ||||
|  |  | |||
		Reference in a new issue