mirror of
https://github.com/linuxserver/docker-swag.git
synced 2025-07-27 08:35:23 -04:00
set owner of certbot folders to abc
Signed-off-by: Eric Nemchik <eric@nemchik.com>
This commit is contained in:
parent
269e9cdd3f
commit
0b738d9ee0
1 changed files with 6 additions and 0 deletions
|
@ -29,6 +29,12 @@ if [[ "${VALIDATION}" = "dns" ]] && [[ ! "${DNSPLUGIN}" =~ ^(acmedns|aliyun|azur
|
||||||
sleep infinity
|
sleep infinity
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# set owner of certbot's CONFIG_DIR, WORK_DIR, and LOGS_DIR to abc
|
||||||
|
lsiown -R abc \
|
||||||
|
/etc/letsencrypt \
|
||||||
|
/var/lib/letsencrypt \
|
||||||
|
/var/log/letsencrypt
|
||||||
|
|
||||||
# set_ini_value logic:
|
# set_ini_value logic:
|
||||||
# - if the name is not found in the file, append the name=value to the end of the file
|
# - if the name is not found in the file, append the name=value to the end of the file
|
||||||
# - if the name is found in the file, replace the value
|
# - if the name is found in the file, replace the value
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue