Compare commits

...

2 Commits

Author SHA1 Message Date
4d5ec665c1 build(docker): exec in runwrapper 2024-10-13 01:52:27 +02:00
918182cd87 build(backend): fix backend start.sh 2024-10-13 01:52:12 +02:00
2 changed files with 3 additions and 6 deletions

View File

@ -36,12 +36,9 @@ unset HOST
# trap move-back EXIT
# fi
if ! [ -z "$(which yesod)" ]
if ! [ -z "$(which stack)" ]
then
yesod devel --work-dir .stack-work-run -p "$DEV_PORT_HTTP" -q "$DEV_PORT_HTTPS" $@
elif ! [ -z "$(which stack)" ]
then
stack exec -- yesod devel --work-dir .stack-work-run -p "$DEV_PORT_HTTP" -q "$DEV_PORT_HTTPS" $@
stack --work-dir .stack-work-run exec -- yesod devel -p "$DEV_PORT_HTTP" -q "$DEV_PORT_HTTPS" $@
else
exit 1
fi

View File

@ -2,4 +2,4 @@
echo $$ > /tmp/pidwrapper
$1
exec $1