2016-10-17 09:58:42 +00:00
|
|
|
#!/bin/sh
|
2016-09-26 05:56:10 +00:00
|
|
|
|
2020-07-07 01:17:03 +00:00
|
|
|
if [ "$1" = "thelounge" ] && [ "$(id -u)" = '0' ]; then
|
2019-01-27 22:10:37 +00:00
|
|
|
find "${THELOUNGE_HOME}" \! -user node -exec chown node '{}' +
|
|
|
|
exec su node -c "$*"
|
2016-10-17 09:58:42 +00:00
|
|
|
fi
|
2016-09-26 05:56:10 +00:00
|
|
|
|
2019-01-27 22:10:37 +00:00
|
|
|
exec "$@"
|