mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 11:42:22 +08:00
16 lines
227 B
Bash
16 lines
227 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
umask $UMASK
|
|
|
|
usermod -u $PUID user
|
|
groupmod -g $PGID users
|
|
|
|
chown -R user:users /app
|
|
chown -R user:users /rec
|
|
|
|
export HOME=/home/user
|
|
|
|
exec /usr/local/bin/gosu user dotnet /app/BililiveRecorder.Cli.dll $@
|