Browse Source

Debian package should only reload Systemd if it is running on the current system

master
B.J. Dweck 1 year ago
parent
commit
67758f6eb3
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      debian/postinst

+ 3
- 1
debian/postinst View File

@ -42,7 +42,9 @@ configure_tor_controller() {
fi
if [ $TORRC_CHANGED -eq 1 ]; then
systemctl reload tor
if [ -d "/run/systemd/system" ]; then
systemctl reload tor
fi
fi
}

Loading…
Cancel
Save