2022-03-24 23:24:24 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
if [ ! -f /config/config.hjson ]; then
|
|
|
|
cp /config/config.hjson.tmpl /config/config.hjson
|
|
|
|
fi
|
|
|
|
|
|
|
|
# https://github.com/LemmyNet/lemmy/blob/main/docker/prod/Dockerfile
|
2023-08-05 14:07:10 +00:00
|
|
|
su lemmy -s /bin/sh -c /app/lemmy
|