diff options
author | zotlabs <mike@macgirvin.com> | 2018-12-03 19:19:31 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-12-03 19:19:31 -0800 |
commit | ffc3dba6825933d8e3ddc1a9a1ee93785acb2fca (patch) | |
tree | 6b42761029370c325064d2790b4c3d8debb7dd38 /.homeinstall/hubzilla-setup.sh | |
parent | 1acc5ceb5f17b3bd36eeba9245c4bb3923793c34 (diff) | |
parent | 5e14da67e1329947a14cc4f009cebcfe4a5ece2f (diff) | |
download | volse-hubzilla-ffc3dba6825933d8e3ddc1a9a1ee93785acb2fca.tar.gz volse-hubzilla-ffc3dba6825933d8e3ddc1a9a1ee93785acb2fca.tar.bz2 volse-hubzilla-ffc3dba6825933d8e3ddc1a9a1ee93785acb2fca.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into xdev_merge
Diffstat (limited to '.homeinstall/hubzilla-setup.sh')
-rwxr-xr-x | .homeinstall/hubzilla-setup.sh | 34 |
1 files changed, 27 insertions, 7 deletions
diff --git a/.homeinstall/hubzilla-setup.sh b/.homeinstall/hubzilla-setup.sh index ff101086c..1f3ad5db5 100755 --- a/.homeinstall/hubzilla-setup.sh +++ b/.homeinstall/hubzilla-setup.sh @@ -816,15 +816,35 @@ install_run_selfhost ping_domain configure_cron_freedns configure_cron_selfhost -install_letsencrypt -configure_apache_for_https -check_https + +if [ "$le_domain" != "localhost" ] +then + install_letsencrypt + configure_apache_for_https + check_https +else + print_info "is localhost - skipped installation of letsencrypt and configuration of apache for https" +fi + install_hubzilla -rewrite_to_https -install_rsnapshot + +if [ "$le_domain" != "localhost" ] +then + rewrite_to_https + install_rsnapshot +else + print_info "is localhost - skipped rewrite to https and installation of rsnapshot" +fi + configure_cron_daily -install_cryptosetup -write_uninstall_script + +if [ "$le_domain" != "localhost" ] +then + install_cryptosetup + write_uninstall_script +else + print_info "is localhost - skipped installation of cryptosetup" +fi #set +x # stop debugging from here |