initial release
This commit is contained in:
parent
7f803e8482
commit
d5be2f3831
25 changed files with 2793 additions and 1 deletions
19
root/etc/cont-init.d/30-config
Normal file
19
root/etc/cont-init.d/30-config
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
|
||||
# create our folders
|
||||
mkdir -p \
|
||||
/config/settings \
|
||||
/downloads
|
||||
|
||||
# default config file
|
||||
[[ ! -f "/config/settings/pyload.cfg" ]] && \
|
||||
cp \
|
||||
/defaults/pyload.cfg \
|
||||
/config/settings/pyload.cfg
|
||||
|
||||
# permissions
|
||||
echo "[cont-init.d] Setting permissions this may take some time"
|
||||
chown -R abc:abc \
|
||||
/config
|
||||
chown abc:abc \
|
||||
/downloads
|
Loading…
Add table
Add a link
Reference in a new issue