mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
17 lines
437 B
Desktop File
17 lines
437 B
Desktop File
[Unit]
|
|
Description=Transparent redirector of any TCP connection to proxy using your firewall
|
|
|
|
[Service]
|
|
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
|
|
ExecStopPost=/bin/rm /run/redsocks/redsocks.pid
|
|
Restart=on-abort
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|