pelican onion address
This commit is contained in:
parent
65025208c0
commit
8eecc01d65
|
@ -35,6 +35,7 @@ SHOW_ON_ABOUT=1
|
|||
|
||||
PELICAN_DOMAIN_NAME=
|
||||
PELICAN_BLOG_CODE=
|
||||
PELICAN_ONION_PORT=8113
|
||||
|
||||
PELICAN_THEMES_REPO="https://github.com/getpelican/pelican-themes"
|
||||
PELICAN_PLUGINS_REPO="https://github.com/getpelican/pelican-plugins"
|
||||
|
@ -515,6 +516,9 @@ function remove_pelican {
|
|||
fi
|
||||
pip uninstall pelican
|
||||
remove_certs $PELICAN_DOMAIN_NAME
|
||||
|
||||
function_check remove_onion_service
|
||||
remove_onion_service htmly ${PELICAN_ONION_PORT}
|
||||
}
|
||||
|
||||
function create_pelican_conf {
|
||||
|
@ -782,6 +786,9 @@ function install_pelican {
|
|||
|
||||
pelican_editor_config
|
||||
|
||||
PELICAN_ONION_HOSTNAME=$(add_onion_service pelican 80 ${PELICAN_ONION_PORT})
|
||||
set_completion_param "pelican onion domain" "$PELICAN_ONION_HOSTNAME"
|
||||
|
||||
install_pelican_website
|
||||
install_pelican_website_onion
|
||||
|
||||
|
|
Loading…
Reference in New Issue