1. 25 Jul, 2019 1 commit
  2. 20 Jul, 2019 1 commit
    • segfault's avatar
      Use BindsTo= and After= in tor-has-bootstrapped systemd units (refs: #16664) · d9ae8bf8
      segfault authored
      Currently, if tor@default.service stops for some reason (either stopped
      manually or unexpectedly), tails-tor-has-boostrapped.target is still
      active.
      
      Using BindsTo= in conjunction with After= ensures that the unit is
      always stopped if the other unit (tor@default.service) is stopped.
      See https://www.freedesktop.org/software/systemd/man/systemd.unit.html#BindsTo=
      
      This allows us to simplify config/chroot_local-includes/usr/local/sbin/tor-has-bootstrapped,
      which would only have to check if tails-tor-has-bootstrapped.target is active.
      Or, we could get rid of this script altogether, because instead of
      calling the script, applications can just run
      
          /bin/systemctl --quiet is-active tails-tor-has-bootstrapped.target
      
      themselves.
      d9ae8bf8
  3. 11 Jul, 2019 2 commits
  4. 07 Apr, 2017 1 commit
  5. 19 Feb, 2016 1 commit
  6. 11 Nov, 2015 2 commits
  7. 23 Oct, 2015 1 commit
  8. 29 Mar, 2015 5 commits