* Add hint for rc.d service * Update README.md --------- Co-authored-by: root <root@prox1.example.com>
812 B
812 B
Running wireproxy with rc.d
If you're on a rc.d-based distro, you'll most likely want to run Wireproxy as a systemd unit.
The provided systemd unit assumes you have the wireproxy executable installed on /bin/wireproxy and a configuration file stored at /etc/wireproxy.conf. These paths can be customized by editing the unit file.
Setting up the unit
-
Copy the
wireproxyfile from this directory to/usr/local/etc/rc.d. -
If necessary, customize the unit. Edit the parts with
procname,command,wireproxy_confto point to the executable and the configuration file. -
Add the following lines to
/etc/rc.confto enable wireproxywireproxy_enable="YES" -
Start wireproxy service and check status
sudo service wireproxy start sudo service wireproxy status