mirror of
				https://github.com/casjaysdevdocker/stikked
				synced 2025-11-04 01:02:36 -05:00 
			
		
		
		
	🗃️ Committing everything that changed 🗃️
rootfs/root/docker/setup/03-files.sh rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/etc/docker/init.d/01-php-fpm.sh
This commit is contained in:
		@@ -27,6 +27,7 @@ exitCode=0
 | 
			
		||||
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
# Predifined actions
 | 
			
		||||
rm -Rf /etc/php*/php-fpm*
 | 
			
		||||
if [ -d "/tmp/bin" ]; then
 | 
			
		||||
  echo "Installing /tmp/bin to /usr/local/bin"
 | 
			
		||||
  chmod -Rf +x "/tmp/bin"
 | 
			
		||||
 
 | 
			
		||||
@@ -12,8 +12,8 @@
 | 
			
		||||
# @@Description      :  Entrypoint file for pastebin
 | 
			
		||||
# @@Changelog        :  New script
 | 
			
		||||
# @@TODO             :  Better documentation
 | 
			
		||||
# @@Other            :  
 | 
			
		||||
# @@Resource         :  
 | 
			
		||||
# @@Other            :
 | 
			
		||||
# @@Resource         :
 | 
			
		||||
# @@Terminal App     :  no
 | 
			
		||||
# @@sudo/root        :  no
 | 
			
		||||
# @@Template         :  other/docker-entrypoint
 | 
			
		||||
@@ -74,8 +74,8 @@ done
 | 
			
		||||
RUNAS_USER="root" # normally root
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
# User and group in which the service switches to - IE: nginx,apache,mysql,postgres
 | 
			
		||||
SERVICE_USER="pastebin"  # execute command as another user
 | 
			
		||||
SERVICE_GROUP="pastebin" # Set the service group
 | 
			
		||||
SERVICE_USER="nginx"  # execute command as another user
 | 
			
		||||
SERVICE_GROUP="nginx" # Set the service group
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
# Set user and group ID
 | 
			
		||||
SERVICE_UID="0" # set the user id
 | 
			
		||||
 
 | 
			
		||||
@@ -249,7 +249,7 @@ __pre_execute() {
 | 
			
		||||
  done
 | 
			
		||||
  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
  # Replace variables
 | 
			
		||||
  HOSTNAME="$sysname" __initialize_replace_variables "$ETC_DIR" "$CONF_DIR" "$WWW_ROOT_DIR" "$DEFAULT_CONF_DIR"
 | 
			
		||||
  HOSTNAME="$sysname" __initialize_replace_variables "$ETC_DIR" "$CONF_DIR" "$WWW_ROOT_DIR" "/etc/php"
 | 
			
		||||
  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
  # define actions
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user