
The migration of the docker container to a rootless one requires the default library to move. This change strips the library path from the path to the ROM and replaces it with an SQL view that concatenates the library path and ROM path.
16 lines
568 B
Bash
16 lines
568 B
Bash
#!/bin/sh
|
|
|
|
# create the user
|
|
echo "Creating user gaseous with UID ${PUID} and GID ${PGID}"
|
|
groupadd -g ${PGID} gaseous
|
|
useradd -u ${PUID} -g ${PGID} -m gaseous -d /home/gaseous -G sudo
|
|
usermod -p "*" gaseous
|
|
mkdir -p /home/gaseous/.aspnet
|
|
chown -R ${PUID} /App /home/gaseous/.aspnet
|
|
chgrp -R ${PGID} /App /home/gaseous/.aspnet
|
|
mkdir -p /home/gaseous/.gaseous-server
|
|
chown -R ${PUID} /App /home/gaseous/.gaseous-server
|
|
chgrp -R ${PGID} /App /home/gaseous/.gaseous-server
|
|
|
|
# Start supervisord and services
|
|
/usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf |