summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2014-02-26 15:40:46 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2014-02-26 15:40:46 +0000
commitd1dbd74aa4ad4df6c96eb2a0d654e117467d75be (patch)
treea96b9ed613ff288051286844e2159e6edc7e9c7c /net-misc/gogoc/files
parentVersion bump. (diff)
downloadgentoo-2-d1dbd74aa4ad4df6c96eb2a0d654e117467d75be.tar.gz
gentoo-2-d1dbd74aa4ad4df6c96eb2a0d654e117467d75be.tar.bz2
gentoo-2-d1dbd74aa4ad4df6c96eb2a0d654e117467d75be.zip
Add systemd unit, thanks Jauhien Piatlicki <piatlicki@gmail.com> in bug #501596
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key C74525F2)
Diffstat (limited to 'net-misc/gogoc/files')
-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