From e2cf4fc92569487e21d096ac6879177aac8f73c1 Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 16 Mar 2014 12:55:24 +0100 Subject: update tor_announce --- ship/lib/filehooker | 23 +++++++++++++++++++++++ ship/src/install_tor_announce | 5 +++++ 2 files changed, 28 insertions(+) create mode 100644 ship/src/install_tor_announce (limited to 'ship') diff --git a/ship/lib/filehooker b/ship/lib/filehooker index a6987733..5e6def5d 100644 --- a/ship/lib/filehooker +++ b/ship/lib/filehooker @@ -1,4 +1,5 @@ #@include core +#@include network ncdc_user=${ncdc_user:-hooker} ncdc_bin=${ncdc_bin:-/usr/bin/ncdc} @@ -60,3 +61,25 @@ WantedBy=multi-user.target EOF systemctl enable ncdc@$ncdc_user } + +install_tor_announce(){ +# systemd only +cat > /etc/systemd/system/tor_announce.service<