mirror of
				https://github.com/zokradonh/kopano-docker
				synced 2025-10-30 18:07:46 +00:00 
			
		
		
		
	make smaller styling changes
Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
		
							parent
							
								
									897faadc7d
								
							
						
					
					
						commit
						4313de2f24
					
				| @ -4,13 +4,9 @@ ADDITIONAL_KOPANO_PACKAGES=${ADDITIONAL_KOPANO_PACKAGES:-""} | ||||
| 
 | ||||
| set -eu # unset variables are errors & non-zero return values exit the whole script | ||||
| 
 | ||||
| if [ ! -e /kopano/$SERVICE_TO_START.py ] | ||||
| then | ||||
| if [ ! -e /kopano/$SERVICE_TO_START.py ]; then | ||||
| 	echo "Invalid service specified: $SERVICE_TO_START" | ts | ||||
| 	exit 1 | ||||
| else | ||||
| 	#ensure removed pid-file on unclean shutdowns and mounted volumes | ||||
| 	rm -f /var/run/kopano/$SERVICE_TO_START.pid | ||||
| fi | ||||
| 
 | ||||
| [ ! -z "$ADDITIONAL_KOPANO_PACKAGES" ] && apt update | ||||
| @ -29,9 +25,11 @@ echo "Set ownership" | ts | ||||
| chown -R kopano:kopano /run /tmp | ||||
| chown kopano:kopano /kopano/data/ /kopano/data/attachments | ||||
| 
 | ||||
| # ensure removed pid-file on unclean shutdowns and mounted volumes | ||||
| rm -f /var/run/kopano/$SERVICE_TO_START.pid | ||||
| 
 | ||||
| # allow helper commands given by "docker-compose run" | ||||
| if [ $# -gt 0 ] | ||||
| then | ||||
| if [ $# -gt 0 ]; then | ||||
| 	exec "$@" | ||||
| 	exit | ||||
| fi | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user