socat-init is a samll Debian LSB init tool to manange the behaviour of socat daemon on Debian Gnu/Linux.
Installtion steps are so easy just do the follwoing :
-
Clone socat-init to your home directory
$: git clone https://github.com/asaif/socat-init.git /home/$user
-
Copy the files to the right path
sudo cp -a /home/$user/socat-init/socat /etc/init.d/ sudo cp -a /home/$user/socat-init/defaults/socat.conf /etc/default/
Now socat-init has been installed and is ready to be used.
You can use socat-init like any other init file by excuting socat tool and pass the desired action, for example:
/etc/ini.d/socat start
To see the help just execute the tool without any actions.
Cheers ;)