- Create a script in the /etc/init.d/ directory
- Make the script executable
$ sudo chmod +x /etc/init.d/myscript.sh
- Make the script start at bootup
$ sudo update-rc.d myscript.sh defaults
Referenced from:
This is where I noted some things when I working with Operating Systems, Virtualization, Containers, Databases, Programming Languages, Frameworks, and Development Tools to reuse and for time-saving later.
How to resolve when "kdevtmpfsi" the crypto-mining malware is running and taking all CPU load of your server (container). One d...
$ sudo chmod +x /etc/init.d/myscript.sh
$ sudo update-rc.d myscript.sh defaults
No comments:
Post a Comment