summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/gogoc/files/gogoc.service')
-rw-r--r--net-misc/gogoc/files/gogoc.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-misc/gogoc/files/gogoc.service b/net-misc/gogoc/files/gogoc.service
new file mode 100644
index 000000000000..fe7b31e9be97
--- /dev/null
+++ b/net-misc/gogoc/files/gogoc.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Client to connect to a tunnel broker using the TSP protocol (freenet6 for example)
+
+[Service]
+ExecStart=/usr/sbin/gogoc -y -f /etc/gogoc/gogoc.conf
+ExecReload=/bin/kill -HUP $MAINPID
+KillMode=process
+Restart=always
+RestartSec=4
+
+[Install]
+WantedBy=multi-user.target