Add start-service task
This commit is contained in:
		
							parent
							
								
									e5ab5b2d00
								
							
						
					
					
						commit
						96fd62dc3d
					
				
					 7 changed files with 11 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -24,3 +24,4 @@
 | 
			
		|||
        mode: "0600"
 | 
			
		||||
 | 
			
		||||
    - import_tasks: steps/template-site-config.yml
 | 
			
		||||
    - import_tasks: steps/start-service.yml
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,3 +13,5 @@
 | 
			
		|||
        src: run-once.sh
 | 
			
		||||
        dest: "{{ (service_path, 'run-once.sh') | path_join }}"
 | 
			
		||||
        mode: '0755'
 | 
			
		||||
 | 
			
		||||
    - import_tasks: steps/start-service.yml
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,7 +17,7 @@ svc_env:
 | 
			
		|||
 | 
			
		||||
compose:
 | 
			
		||||
  watchtower: false
 | 
			
		||||
  image: containerrr/watchtower
 | 
			
		||||
  image: containrrr/watchtower
 | 
			
		||||
  env: true
 | 
			
		||||
  volumes:
 | 
			
		||||
    - /var/run/docker.sock:/var/run/docker.sock
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue