Skip to content
Permalink
Browse files

add whonix-firewall-sdwdate-watcher.service

  • Loading branch information
adrelanos committed Aug 24, 2016
1 parent 2fc16d8 commit 7ada53980cc74d260ecfb980714fcf93bc46cd70
Showing with 25 additions and 0 deletions.
  1. +25 −0 lib/systemd/system/whonix-firewall-sdwdate-watcher.service
@@ -0,0 +1,25 @@
## This file is part of Whonix.
## Copyright (C) 2012 - 2014 Patrick Schleizer <adrelanos@riseup.net>
## See the file COPYING for copying conditions.

## Restarts whonix-firewall when /var/run/sdwdate/first_success status file was
## created, i.e. when sdwdate succeeded so Whonix firewall will move from
## restricted mode to full mode.

[Unit]
Description=Whonix firewall sdwdate watcher

After=whonix-firewall.service
After=sdwdate.service

[Service]
Type=simple

SuccessExitStatus=143
KillMode=control-group

ExecStart=/usr/lib/anon-shared-helper-scripts/firewall-restarter
StandardOutput=syslog

[Install]
WantedBy=multi-user.target

0 comments on commit 7ada539

Please sign in to comment.
You can’t perform that action at this time.