Skip to content

Commit 40c0682

Browse files
committed
chore: genericise entrypoint to include Podman
1 parent f534ffa commit 40c0682

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

scripts/apps/redis/ampstart.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
set -eo pipefail
44

5-
echo "[Info] AMPStart for Docker"
5+
echo "[Info] AMPStart for Docker/Podman"
66
ARCH=$(uname -m)
77

88
# Context check
9-
[[ -z "${AMPUSERID}" ]] && { echo "[Error] This docker image cannot be used directly by itself - it must be started by ampinstmgr"; exit 100; }
9+
[[ -z "${AMPUSERID}" ]] && { echo "[Error] This image cannot be used directly by itself - it must be started by ampinstmgr"; exit 100; }
1010

1111
# Create /etc/machine-id using the instance UUID if AMP_INSTANCE_ID exists (addresses Proton/dbus issues)
1212
mkdir -p /var/lib/dbus

scripts/apps/uptime-kuma-2/ampstart.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
set -eo pipefail
44

5-
echo "[Info] AMPStart for Docker"
5+
echo "[Info] AMPStart for Docker/Podman"
66
ARCH=$(uname -m)
77

88
# Context check
9-
[[ -z "${AMPUSERID}" ]] && { echo "[Error] This docker image cannot be used directly by itself - it must be started by ampinstmgr"; exit 100; }
9+
[[ -z "${AMPUSERID}" ]] && { echo "[Error] This image cannot be used directly by itself - it must be started by ampinstmgr"; exit 100; }
1010

1111
# Create /etc/machine-id using the instance UUID if AMP_INSTANCE_ID exists (addresses Proton/dbus issues)
1212
mkdir -p /var/lib/dbus

scripts/base/ampstart.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
set -eo pipefail
44

5-
echo "[Info] AMPStart for Docker"
5+
echo "[Info] AMPStart for Docker/Podman"
66
ARCH=$(uname -m)
77

88
# Context check
9-
[[ -z "${AMPUSERID}" ]] && { echo "[Error] This docker image cannot be used directly by itself - it must be started by ampinstmgr"; exit 100; }
9+
[[ -z "${AMPUSERID}" ]] && { echo "[Error] This image cannot be used directly by itself - it must be started by ampinstmgr"; exit 100; }
1010

1111
# Create /etc/machine-id using the instance UUID if AMP_INSTANCE_ID exists (addresses Proton/dbus issues)
1212
mkdir -p /var/lib/dbus

0 commit comments

Comments
 (0)