mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
pull iamge on install
This commit is contained in:
parent
7c572eb5c6
commit
cb0d1d730a
12
install.sh
12
install.sh
@ -281,8 +281,9 @@ set_system_cronjob # setup crons, must be after csf
|
||||
set_logrotate # setup logrotate, ignored on fedora
|
||||
tweak_ssh # basic ssh
|
||||
log_dirs # for almalinux
|
||||
download_ui_image # pull openpanel-ui image
|
||||
setup_swap # swap space
|
||||
#####clean_apt_and_dnf_cache # clear
|
||||
clean_apt_and_dnf_cache # clear
|
||||
verify_license # ping our server
|
||||
)
|
||||
|
||||
@ -1342,6 +1343,15 @@ generate_and_set_ssl_for_panels() {
|
||||
}
|
||||
|
||||
|
||||
|
||||
download_ui_image() {
|
||||
# added in 0.2.2 to pre-pull image so its ready on acocunt create
|
||||
debug_log "Pulling OpenPanel image in background (not starting the service).."
|
||||
nohup sh -c "cd /root && docker --context default compose pull openpanel" </dev/null >nohup.out 2>nohup.err &
|
||||
}
|
||||
|
||||
|
||||
|
||||
setup_redis_service() {
|
||||
mkdir -p /tmp/redis
|
||||
chmod 777 /tmp/redis
|
||||
|
Loading…
Reference in New Issue
Block a user