mirror of
https://github.com/idanoo/gomatrixbot
synced 2025-07-23 08:59:12 +00:00
Reupload
This commit is contained in:
commit
ac641111a6
34 changed files with 4492 additions and 0 deletions
30
run.sh
Normal file
30
run.sh
Normal file
|
@ -0,0 +1,30 @@
|
|||
#!/bin/bash
|
||||
|
||||
PUID=${PUID:-911}
|
||||
PGID=${PGID:-911}
|
||||
|
||||
groupmod -o -g "$PGID" abc
|
||||
usermod -o -u "$PUID" abc
|
||||
|
||||
echo '
|
||||
-------------------------------------
|
||||
GID/UID
|
||||
-------------------------------------'
|
||||
echo "
|
||||
User uid: $(id -u abc)
|
||||
User gid: $(id -g abc)
|
||||
-------------------------------------
|
||||
"
|
||||
|
||||
chown abc:abc /app
|
||||
chown abc:abc /config
|
||||
|
||||
echo "Booted face fusion"
|
||||
|
||||
cd /facefusion && source ./bin/activate && \
|
||||
GRADIO_SERVER_NAME=0.0.0.0 python3 run.py \
|
||||
--log-level debug \
|
||||
--execution-thread-count 8 &
|
||||
|
||||
echo "Booting app"
|
||||
cd /app && ./main
|
Loading…
Add table
Add a link
Reference in a new issue