* chore: add way to set file permission * chore: add bililive-go home for docker image
10 lines
162 B
Bash
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
|