mirror of
				https://github.com/tailscale/tailscale.git
				synced 2025-10-31 08:11:32 +01:00 
			
		
		
		
	* cmd/nginx-auth: add maintainer scripts Signed-off-by: Xe <xe@tailscale.com> * cmd/nginx-auth: add Expected-Tailnet header and documentation Signed-off-by: Xe <xe@tailscale.com>
		
			
				
	
	
		
			9 lines
		
	
	
		
			253 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			253 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| set -e
 | |
| if [ "$1" = "remove" ]; then
 | |
| 	  if [ -d /run/systemd/system ]; then
 | |
| 		    deb-systemd-invoke stop 'tailscale.nginx-auth.service' >/dev/null || true
 | |
| 		    deb-systemd-invoke stop 'tailscale.nginx-auth.socket' >/dev/null || true
 | |
| 	  fi
 | |
| fi
 |