🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2022-10-11 16:08:24 -04:00
parent 1a6bbcd8a0
commit 1e8f9ee710
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F
3 changed files with 10 additions and 9 deletions

View File

@ -18,18 +18,16 @@
# @@sudo/root : no # @@sudo/root : no
# @@Template : other/docker-entrypoint # @@Template : other/docker-entrypoint
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set bash options
[ -n "$DEBUG" ] && set -x
set -o pipefail
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
APPNAME="$(basename "$0" 2>/dev/null)" APPNAME="$(basename "$0" 2>/dev/null)"
VERSION="202210042049-git" VERSION="202210042049-git"
HOME="${USER_HOME:-$HOME}" HOME="${USER_HOME:-$HOME}"
USER="${SUDO_USER:-$USER}" USER="${SUDO_USER:-$USER}"
RUN_USER="${SUDO_USER:-$USER}" RUN_USER="${SUDO_USER:-$USER}"
SCRIPT_SRC_DIR="${BASH_SOURCE%/*}" SCRIPT_SRC_DIR="${BASH_SOURCE%/*}"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set bash options
[ "$1" == "--debug" ] && set -xo pipefail && export SCRIPT_OPTS="--debug" && export _DEBUG="on"
[ "$1" == "--raw" ] && export SHOW_RAW="true"
set -o pipefail
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set functions # Set functions
__version() { echo -e ${GREEN:-}"$VERSION"${NC:-}; } __version() { echo -e ${GREEN:-}"$VERSION"${NC:-}; }

View File

@ -1,6 +1,7 @@
#!/bin/sh #!/bin/sh
set -e # Set bash options
[ -n "$DEBUG" ] && set -x
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ "$SIDECAR_NEWSUPDATER" = "1" ]; then if [ "$SIDECAR_NEWSUPDATER" = "1" ]; then
pgrep -f "/usr/bin/nextcloud-news-updater -c /etc/news_updater.ini" pgrep -f "/usr/bin/nextcloud-news-updater -c /etc/news_updater.ini"
elif [ "$SIDECAR_CRON" = "1" ] || [ "$SIDECAR_PREVIEWGEN" = "1" ]; then elif [ "$SIDECAR_CRON" = "1" ] || [ "$SIDECAR_PREVIEWGEN" = "1" ]; then

View File

@ -1,3 +1,5 @@
#!/bin/sh #!/bin/sh
# Set bash options
[ -n "$DEBUG" ] && set -x
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
yasu nextcloud:nextcloud php -f /var/www/occ "$@" yasu nextcloud:nextcloud php -f /var/www/occ "$@"