mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-08-20 15:27:26 +00:00
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
This commit is contained in:
@@ -2,4 +2,9 @@
|
||||
# Special workaround for running web service in github actions, must not be usually used in real environment,
|
||||
# consider running web command explicitly instead
|
||||
|
||||
exec entrypoint web "$@"
|
||||
if (( EUID == 0 )); then
|
||||
chown ahriman:ahriman /var/lib/ahriman
|
||||
exec sudo -E -u ahriman -- entrypoint web "$@"
|
||||
fi
|
||||
|
||||
exec entrypoint web "$@"
|
||||
|
||||
Reference in New Issue
Block a user