cd /usr/src/openser-1.2.2-tls/packaging/debiancp openser.default /etc/default/opensercp openser.init /etc/init.d/openserupdate-rc.d openser defaults 99
Step 2: Edit the /etc/openser/openser.cfg file and remove the line fork=no (even if it has C-style remarks). The init script looks for the instruction fork=no, even if commented.
Step 3: Make sure that the script openser.init has the necessary permissions
cd /etc/init.dchmod 755 openser
Step 4: Edit /etc/default/openser.cfg, change the memory parameter to 128MB and the RUN_OPENSER to yes.
Step 5: Edit the init script to make sure that the daemon is pointing to the right directory:
vi /etc/init.d/openser
File before making changes:
DAEMON=/usr/sbin/openser
File after making changes:
DAEMON=/sbin/openser
Step 6: Restart the computer to see if OpenSER starts. Confirm using:
ps-ef |grep openser.
Note
It is highly recommended that you change the username and password used to run openser in the /etc/init.d/openser file.