Files
ahriman/docker/entrypoint-web.sh
T
arcanis 3548b434be feat: full rootless setup (#165)
* use local devtools configs instead of global ones

* make docker image rootless

* add migration notes

* fix setup command

* fix regress jo
2026-08-14 13:34:42 +03:00

11 lines
321 B
Bash
Executable File

#!/bin/bash
# Special workaround for running web service in github actions, must not be usually used in real environment,
# consider running web command explicitly instead
if (( EUID == 0 )); then
chown ahriman:ahriman /var/lib/ahriman
exec sudo -E -u ahriman -- entrypoint web "$@"
fi
exec entrypoint web "$@"