wireproxy/rc.d
2025-02-09 11:56:34 +04:00
..
README.md Update README.md 2025-02-09 11:56:34 +04:00
wireproxy Add hint for rc.d service 2025-02-09 11:54:53 +04:00

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

  1. Copy the wireproxy file from this directory to /usr/local/etc/rc.d.

  2. If necessary, customize the unit. Edit the parts with procname, command, wireproxy_conf to point to the executable and the configuration file.

  3. Add the following lines to /etc/rc.conf to enable wireproxy wireproxy_enable="YES"

  4. Start wireproxy service and check status

    sudo service wireproxy start
    sudo service wireproxy status