rasti.hil@hilandco.com +41 79 367-9677

Search This Blog

Adding startup script

Let’s begin I need to start lampp at boot time. So in a next few step I’ll show how was I solved this problem.

[1]: create a script

sudo mcedit /etc/init.d/lampp

#!/bin/bash
/opt/lampp/lampp start


[2]: add my script to startup list

sudo update-rc.d lampp defaults


[3]: I have to make this file executable

sudo chmod +x /etc/init.d/lampp


[4]: reboot and enjoy

sudo reboot