restart tor when changing logging
This commit is contained in:
parent
812f5db8fb
commit
c2f00aed9f
|
@ -211,7 +211,9 @@ fi
|
||||||
|
|
||||||
systemctl restart syslog
|
systemctl restart syslog
|
||||||
if [ -d /etc/tor ]; then
|
if [ -d /etc/tor ]; then
|
||||||
systemctl reload tor
|
if [[ "$2" != "--onion" ]]; then
|
||||||
|
systemctl restart tor
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if [ -d /etc/nginx ]; then
|
if [ -d /etc/nginx ]; then
|
||||||
systemctl restart php5-fpm
|
systemctl restart php5-fpm
|
||||||
|
|
|
@ -41,7 +41,11 @@ function install_final {
|
||||||
split_gpg_key_into_fragments
|
split_gpg_key_into_fragments
|
||||||
|
|
||||||
# turn logging off by default
|
# turn logging off by default
|
||||||
${PROJECT_NAME}-logging off
|
if [[ $ONION_ONLY != 'no' ]]; then
|
||||||
|
${PROJECT_NAME}-logging off --onion
|
||||||
|
else
|
||||||
|
${PROJECT_NAME}-logging off
|
||||||
|
fi
|
||||||
|
|
||||||
mark_completed $FUNCNAME
|
mark_completed $FUNCNAME
|
||||||
clear
|
clear
|
||||||
|
|
Loading…
Reference in New Issue