1.
Discription
Make a copy of the file you want to edit in /etc/init.d and name it something else (e.g.: my_service)
2. Edit this new file, add your own code at the bottom of the script, save and exit (Ctrl+X).
3. Run update-rc
https://t.co/RzxRWRkFhK
References
Back to Main