Use an init.d script to start a binary on system boot


/ Published in: Bash
Save to your folder(s)

You must have already setup your /etc/init.d/some_binary file and it should have the chkconfig line in it that specifies the on/off run levels and start/stop priorities.


Copy this code and paste it in your HTML
  1. chkconfig some_binary --add
  2. chkconfig some_binary on

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.