create context script

This commit is contained in:
2026-03-28 11:51:02 +01:00
parent c9bbeeeb14
commit 0916e5b90b
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
APP_DIR=/var/www/app
IS_DEV=${DEV:-0}
run() {
if [ "$IS_DEV" = 1 ]; then
gosu www-data "$@"
else
"$@"
fi
}