Update 2 files

- /home/.chezmoiscripts/universal/run_onchange_after_27-tor.tmpl
- /home/.chezmoiscripts/universal/run_onchange_after_28-privoxy.tmpl
This commit is contained in:
Brian Zalewski 2023-02-01 21:17:18 +00:00
parent 0c13e4c332
commit a323d22078
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ if command -v toron > /dev/null; then
if [[ ! "$(grep Microsoft /proc/version)" ]]; then if [[ ! "$(grep Microsoft /proc/version)" ]]; then
# Linux # Linux
sudo systemctl enable tor sudo systemctl enable tor
sudo systemlctl restart tor sudo systemctl restart tor
else else
logg info 'Environment is WSL so the Tor systemd service will not be enabled / restarted' logg info 'Environment is WSL so the Tor systemd service will not be enabled / restarted'
fi fi

View file

@ -30,7 +30,7 @@ if command -v privoxy > /dev/null; then
if [[ ! "$(grep Microsoft /proc/version)" ]]; then if [[ ! "$(grep Microsoft /proc/version)" ]]; then
# Linux # Linux
sudo systemctl enable privoxy sudo systemctl enable privoxy
sudo systemlctl restart privoxy sudo systemctl restart privoxy
else else
logg info 'The system is a WSL environment so the Privoxy systemd service will not be enabled / restarted' logg info 'The system is a WSL environment so the Privoxy systemd service will not be enabled / restarted'
fi fi