Running SwiperProxy as a daemon


A sysvinit script is included with SwiperProxy. Use the following steps to install SwiperProxy as a daemon with a sysvinit-compatible init system:

$ ln -s /path/to/swiperproxy/include/init/sysvinit.sh /etc/init.d/swiperproxy
$ ln -s /path/to/swiperproxy/include/init/sysvinit-defaults /etc/default/swiperproxy
$ chmod a+x /etc/init.d/swiperproxy
$ update-rc.d swiperproxy defaults

If you run systemd with systemd-sysv, you may need to run:
$ systemctl daemon-reload

Edit the defaults file, and run SwiperProxy with:
$ /etc/init.d/swiperproxy start