This repository was archived by the owner on Apr 23, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed
root/etc/s6-overlay/s6-rc.d Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/with-contenv bash
2
2
# shellcheck shell=bash
3
3
4
+ cp /app/pmm/config/config.yml.template /config
5
+
4
6
# permissions
5
7
lsiown -R abc:abc \
6
8
/config
Original file line number Diff line number Diff line change @@ -23,11 +23,11 @@ if [[ -n "${CONFIG_FILE}" ]] && [[ ! -e "${CONFIG_FILE}" ]]; then
23
23
fi
24
24
25
25
if { echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--run|-r)([\s]|$)'; } && { echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--config|-c)([\s])(.+\/[^\/]+)\.(yml|yaml)'; }; then
26
- s6-setuidgid abc python3 /app/pmm/plex_meta_manager .py "${CLI_OPTIONS[@]}"
26
+ s6-setuidgid abc python3 /app/pmm/kometa .py "${CLI_OPTIONS[@]}"
27
27
elif echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--run|-r)([\s]|$)'; then
28
- s6-setuidgid abc python3 /app/pmm/plex_meta_manager .py --config "${CONFIG_FILE}" "${CLI_OPTIONS[@]}"
28
+ s6-setuidgid abc python3 /app/pmm/kometa .py --config "${CONFIG_FILE}" "${CLI_OPTIONS[@]}"
29
29
elif echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--config|-c)([\s])(.+\/[^\/]+)\.(yml|yaml)'; then
30
- s6-setuidgid abc python3 /app/pmm/plex_meta_manager .py --run "${CLI_OPTIONS[@]}"
30
+ s6-setuidgid abc python3 /app/pmm/kometa .py --run "${CLI_OPTIONS[@]}"
31
31
else
32
- s6-setuidgid abc python3 /app/pmm/plex_meta_manager .py --run --config "${CONFIG_FILE}" "${CLI_OPTIONS[@]}"
32
+ s6-setuidgid abc python3 /app/pmm/kometa .py --run --config "${CONFIG_FILE}" "${CLI_OPTIONS[@]}"
33
33
fi
Original file line number Diff line number Diff line change 23
23
24
24
if { echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--time|-t)([\s])'; } && { echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--config|-c)([\s])(.+\/[^\/]+)\.(yml|yaml)'; }; then
25
25
exec \
26
- s6-setuidgid abc python3 /app/pmm/plex_meta_manager .py "${CLI_OPTIONS[@]}"
26
+ s6-setuidgid abc python3 /app/pmm/kometa .py "${CLI_OPTIONS[@]}"
27
27
elif echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--time|-t)([\s])'; then
28
28
exec \
29
- s6-setuidgid abc python3 /app/pmm/plex_meta_manager .py --config "${CONFIG_FILE}" "${CLI_OPTIONS[@]}"
29
+ s6-setuidgid abc python3 /app/pmm/kometa .py --config "${CONFIG_FILE}" "${CLI_OPTIONS[@]}"
30
30
elif echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--config|-c)([\s])(.+\/[^\/]+)\.(yml|yaml)'; then
31
31
exec \
32
- s6-setuidgid abc python3 /app/pmm/plex_meta_manager .py --time "${PMM_TIME:-03:00}" "${CLI_OPTIONS[@]}"
32
+ s6-setuidgid abc python3 /app/pmm/kometa .py --time "${PMM_TIME:-03:00}" "${CLI_OPTIONS[@]}"
33
33
else
34
34
exec \
35
- s6-setuidgid abc python3 /app/pmm/plex_meta_manager .py --config "${CONFIG_FILE}" --time "${PMM_TIME:-03:00}" "${CLI_OPTIONS[@]}"
35
+ s6-setuidgid abc python3 /app/pmm/kometa .py --config "${CONFIG_FILE}" --time "${PMM_TIME:-03:00}" "${CLI_OPTIONS[@]}"
36
36
fi
You can’t perform that action at this time.
0 commit comments