Fix godoor service restart
This commit is contained in:
		@@ -25,9 +25,9 @@
 | 
			
		||||
        ExecStart=ctr run --rm --pid-file=/run/%N.pid --privileged --read-only --env-file=/etc/godoor --env=KDOORPI_API_ALLOWED=https://doorboy-proxy.k-space.ee/allowed --env=KDOORPI_API_LONGPOLL=https://doorboy-proxy.k-space.ee/longpoll --env=KDOORPI_API_SWIPE=https://doorboy-proxy.k-space.ee/swipe --env=KDOORPI_DOOR=%H --net-host --net-host --cwd /app $IMAGE %N /godoor
 | 
			
		||||
        ExecStopPost=ctr task rm %N
 | 
			
		||||
        ExecStopPost=ctr c rm %N
 | 
			
		||||
        Restart=always
 | 
			
		||||
        [Install]
 | 
			
		||||
        WantedBy=multi-user.target
 | 
			
		||||
        Restart=always
 | 
			
		||||
  - name: Enable Doorboy controller
 | 
			
		||||
    ansible.builtin.systemd:
 | 
			
		||||
      state: restarted
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user