mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-09-19 04:06:18 +08:00
11 lines
181 B
Bash
11 lines
181 B
Bash
#!/bin/sh
|
|
|
|
umask ${UMASK}
|
|
|
|
if [ "$1" = "version" ]; then
|
|
./openlist version
|
|
else
|
|
|
|
chown -R ${PUID}:${PGID} /opt/openlist/
|
|
exec su-exec ${PUID}:${PGID} runsvdir /opt/service
|
|
fi |