The tag has no wiki summary.

learn more… | top users | synonyms

6
votes
3answers
14k views

Execute script from rc.local as user instead of root

I want to execute a script every time my server start up. The problem is that I need to be a certain user to execute the script, if I try to do it as root it cant find certain packages (such as ruby). ...
1
vote
1answer
575 views

Running Script on EC2 Boot

I want to mount my EBS volume and start up the Apache/MySQL servers on my EC2 machine, but I can't even get my script to run at startup. I've tried putting it in: /etc/init.d/ /etc/rc.d/rc5.d/ ...