add umask variable to allow metadata perms to be to user preference
This commit is contained in:
@@ -33,6 +33,7 @@ param_ports:
|
|||||||
param_usage_include_env: true
|
param_usage_include_env: true
|
||||||
param_env_vars:
|
param_env_vars:
|
||||||
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London"}
|
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London"}
|
||||||
|
- { env_var: "UMASK_SET", env_value: "<022>", desc: "for umask setting of emby, *optional* , default if left unset is 022."}
|
||||||
# optional container parameters
|
# optional container parameters
|
||||||
opt_param_usage_include_vols: true
|
opt_param_usage_include_vols: true
|
||||||
opt_param_volumes:
|
opt_param_volumes:
|
||||||
@@ -66,5 +67,6 @@ app_setup_block: |
|
|||||||
|
|
||||||
# changelog
|
# changelog
|
||||||
changelogs:
|
changelogs:
|
||||||
|
- { date: "13.08.19:", desc: "Add umask environment variable." }
|
||||||
- { date: "24.06.19:", desc: "Fix typos in readme." }
|
- { date: "24.06.19:", desc: "Fix typos in readme." }
|
||||||
- { date: "30.05.19:", desc: "Initial release." }
|
- { date: "30.05.19:", desc: "Initial release." }
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
# set umask
|
||||||
|
UMASK_SET=${UMASK_SET:-022}
|
||||||
|
umask "$UMASK_SET"
|
||||||
|
|
||||||
# env settings
|
# env settings
|
||||||
APP_DIR="/app/emby"
|
APP_DIR="/app/emby"
|
||||||
export LD_LIBRARY_PATH="${APP_DIR}"
|
export LD_LIBRARY_PATH="${APP_DIR}"
|
||||||
|
|||||||
Reference in New Issue
Block a user