mirror of
				https://github.com/dani-garcia/vaultwarden.git
				synced 2025-10-27 00:10:02 +02:00 
			
		
		
		
	- Updated deps - Updated Alpine images to 3.16 - Removed dumb-init, not needed anymore - Some small shellcheck tweaks on the start/healthcheck scripts
		
			
				
	
	
		
			26 lines
		
	
	
		
			696 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			696 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| if [ -r /etc/vaultwarden.sh ]; then
 | |
|     . /etc/vaultwarden.sh
 | |
| elif [ -r /etc/bitwarden_rs.sh ]; then
 | |
|     echo "### You are using the old /etc/bitwarden_rs.sh script, please migrate to /etc/vaultwarden.sh ###"
 | |
|     . /etc/bitwarden_rs.sh
 | |
| fi
 | |
| 
 | |
| if [ -d /etc/vaultwarden.d ]; then
 | |
|     for f in /etc/vaultwarden.d/*.sh; do
 | |
|         if [ -r "${f}" ]; then
 | |
|             . "${f}"
 | |
|         fi
 | |
|     done
 | |
| elif [ -d /etc/bitwarden_rs.d ]; then
 | |
|     echo "### You are using the old /etc/bitwarden_rs.d script directory, please migrate to /etc/vaultwarden.d ###"
 | |
|     for f in /etc/bitwarden_rs.d/*.sh; do
 | |
|         if [ -r "${f}" ]; then
 | |
|             . "${f}"
 | |
|         fi
 | |
|     done
 | |
| fi
 | |
| 
 | |
| exec /vaultwarden "${@}"
 |