🗃️ 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:
casjay 2024-08-16 15:52:09 -04:00
parent 1c8e1b0ef3
commit 9a54cd4f94
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145
3 changed files with 6 additions and 5 deletions

View File

@ -27,6 +27,7 @@ exitCode=0
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Predifined actions # Predifined actions
rm -Rf /etc/php*/php-fpm*
if [ -d "/tmp/bin" ]; then if [ -d "/tmp/bin" ]; then
echo "Installing /tmp/bin to /usr/local/bin" echo "Installing /tmp/bin to /usr/local/bin"
chmod -Rf +x "/tmp/bin" chmod -Rf +x "/tmp/bin"

View File

@ -12,8 +12,8 @@
# @@Description : Entrypoint file for pastebin # @@Description : Entrypoint file for pastebin
# @@Changelog : New script # @@Changelog : New script
# @@TODO : Better documentation # @@TODO : Better documentation
# @@Other : # @@Other :
# @@Resource : # @@Resource :
# @@Terminal App : no # @@Terminal App : no
# @@sudo/root : no # @@sudo/root : no
# @@Template : other/docker-entrypoint # @@Template : other/docker-entrypoint
@ -74,8 +74,8 @@ done
RUNAS_USER="root" # normally root RUNAS_USER="root" # normally root
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# User and group in which the service switches to - IE: nginx,apache,mysql,postgres # User and group in which the service switches to - IE: nginx,apache,mysql,postgres
SERVICE_USER="pastebin" # execute command as another user SERVICE_USER="nginx" # execute command as another user
SERVICE_GROUP="pastebin" # Set the service group SERVICE_GROUP="nginx" # Set the service group
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set user and group ID # Set user and group ID
SERVICE_UID="0" # set the user id SERVICE_UID="0" # set the user id

View File

@ -249,7 +249,7 @@ __pre_execute() {
done done
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Replace variables # 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 # define actions