mirror of
https://github.com/casjaysdevdocker/stikked
synced 2024-11-27 23:23:03 -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:
parent
1c8e1b0ef3
commit
9a54cd4f94
@ -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"
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user