summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2017-10-20 16:37:07 -0700
committerMatt Turner <mattst88@gentoo.org>2017-10-20 16:37:28 -0700
commitab0a5043dbe5d3447c44296905e0008c7766ab75 (patch)
tree4c153b445615406603ebe02a16da67328b1d9cbe /net-proxy
parentsys-devel/binutils: Bump patchlevel to 3, only changes in the testsuite (diff)
downloadgentoo-ab0a5043dbe5d3447c44296905e0008c7766ab75.tar.gz
gentoo-ab0a5043dbe5d3447c44296905e0008c7766ab75.tar.bz2
gentoo-ab0a5043dbe5d3447c44296905e0008c7766ab75.zip
net-proxy/redsocks: Use RuntimeDirectory to ensure /run/redsocks exists
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/redsocks/files/redsocks.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/net-proxy/redsocks/files/redsocks.service b/net-proxy/redsocks/files/redsocks.service
index db0e9d6093e9..9306dbb8857f 100644
--- a/net-proxy/redsocks/files/redsocks.service
+++ b/net-proxy/redsocks/files/redsocks.service
@@ -5,6 +5,7 @@ Description=Transparent redirector of any TCP connection to proxy using your fir
Type=forking
PIDFile=/run/redsocks/redsocks.pid
User=redsocks
+RuntimeDirectory=redsocks
ExecStartPre=/usr/sbin/redsocks -t -c /etc/redsocks.conf
ExecStart=/usr/sbin/redsocks -c /etc/redsocks.conf \
-p /run/redsocks/redsocks.pid