summaryrefslogtreecommitdiffstats
path: root/filehooker/root-image/etc/systemd/system/tor-announce.service
diff options
context:
space:
mode:
Diffstat (limited to 'filehooker/root-image/etc/systemd/system/tor-announce.service')
-rw-r--r--filehooker/root-image/etc/systemd/system/tor-announce.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/filehooker/root-image/etc/systemd/system/tor-announce.service b/filehooker/root-image/etc/systemd/system/tor-announce.service
new file mode 100644
index 00000000..818a5c4c
--- /dev/null
+++ b/filehooker/root-image/etc/systemd/system/tor-announce.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Announce Tor Hidden Address
+After=network.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/krebs/bin/tor_announce.ship
+
+[Install]
+WantedBy=multi-user.target