Create entrypoint.sh
Browse files- entrypoint.sh +7 -0
entrypoint.sh
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
chown -R ${PUID}:${PGID} /opt/alist/
|
| 4 |
+
|
| 5 |
+
umask ${UMASK}
|
| 6 |
+
|
| 7 |
+
exec su-exec ${PUID}:${PGID} ./alist server --no-prefix
|