mirror of
https://github.com/owntracks/docker-recorder.git
synced 2026-08-23 11:26:14 +00:00
remove entrypoint script
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# If running as root (first invocation), fix mountpoint permissions
|
||||
# and re-run this script as appuser.
|
||||
if [[ $(id -u) -eq 0 ]]; then
|
||||
chown -R appuser:appuser /store /config
|
||||
exec su appuser -- "$0" "$@"
|
||||
fi
|
||||
|
||||
# Load Default recorder.conf if not available
|
||||
if [ ! -f /config/recorder.conf ]; then
|
||||
cp /etc/default/recorder.conf /config/recorder.conf
|
||||
fi
|
||||
|
||||
ot-recorder --initialize
|
||||
ot-recorder "$@"
|
||||
Reference in New Issue
Block a user