tails-tor-has-bootstrapped-flag-file.service 561 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
[Unit]
Description=Manage the flag file that indicates whether Tor has bootstrapped
Documentation=https://tails.boum.org/contribute/design/
After=tails-wait-until-tor-has-bootstrapped.service
PartOf=tails-tor-has-bootstrapped.target

[Service]
Type=oneshot
RemainAfterExit=yes
User=debian-tor
ExecStart=/bin/touch /run/tor-has-bootstrapped/done
ExecStop=/bin/rm -f /run/tor-has-bootstrapped/done
CapabilityBoundingSet=
PrivateDevices=yes
PrivateNetwork=yes
PrivateTmp=yes
ProtectHome=yes
ProtectSystem=full

[Install]
WantedBy=tails-tor-has-bootstrapped.target