Files
bililive-go/entrypoint.sh
T
localhost 0bb270e165 chore: add way to set defualt file permission (#626)
* chore: add way to set file permission

* chore: add bililive-go home for docker image
2024-01-03 23:55:34 +09:00

10 lines
162 B
Bash

#!/bin/sh
HOME=/srv/bililive
chown -R ${PUID}:${PGID} ${HOME}
umask ${UMASK}
exec su-exec ${PUID}:${PGID} /usr/bin/bililive-go -c /etc/bililive-go/config.yml