summaryrefslogtreecommitdiff
path: root/build/shim/shim.php
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-12-25 12:32:15 -0500
committerFreya Murphy <freya@freyacat.org>2024-12-25 12:32:15 -0500
commit170f39e70736baff4b7c0ffe7d91c1bdf409532b (patch)
tree400e497e102b1b2ca6fe175f2a0c2a90a060f932 /build/shim/shim.php
parentupdate version (diff)
downloadxssbook2-170f39e70736baff4b7c0ffe7d91c1bdf409532b.tar.gz
xssbook2-170f39e70736baff4b7c0ffe7d91c1bdf409532b.tar.bz2
xssbook2-170f39e70736baff4b7c0ffe7d91c1bdf409532b.zip
make shim a container once again
Diffstat (limited to '')
-rwxr-xr-xbuild/shim/shim.php (renamed from shim/shim.php)4
1 files changed, 2 insertions, 2 deletions
diff --git a/shim/shim.php b/build/shim/shim.php
index eb84412..0c91513 100755
--- a/shim/shim.php
+++ b/build/shim/shim.php
@@ -1,9 +1,9 @@
-#!/usr/bin/env php
+#!/usr/bin/env php84
<?php /* Copyright (c) 2024 Freya Murphy */
function wait_until_ready() {
while (TRUE) {
- if (file_exists("/status/ready")) {
+ if (file_exists("/var/run/crimson/db-ready")) {
echo "database ready!\n";
break;
}