mount extra volumes for stash
This commit is contained in:
15
dockerfiles/services/stashapp/entrypoint.sh
Normal file
15
dockerfiles/services/stashapp/entrypoint.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env sh
|
||||
set -ex
|
||||
|
||||
echo "mount loop device"
|
||||
mkdir /data
|
||||
tcplay --map=data2 --device=`losetup -f --show /test.tc`
|
||||
# losetup /dev/loop0 foo.tc
|
||||
#tcplay -m test.tc -d /dev/loop0
|
||||
mount -o nodev,nosuid,uid=1000,gid=100 /dev/mapper/data2 /data
|
||||
|
||||
echo "Starting stash app!"
|
||||
|
||||
exec /usr/bin/stash
|
||||
|
||||
echo "Goodbye!"
|
||||
Reference in New Issue
Block a user