mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-08-20 15:27:26 +00:00
* use local devtools configs instead of global ones * make docker image rootless * add migration notes * fix setup command * fix regress jo
11 lines
321 B
Bash
Executable File
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 "$@"
|