Menu

Startup Script for Ubuntu

techjohnny
2014-06-10
2014-06-17
  • techjohnny

    techjohnny - 2014-06-10

    Have a script that mounts an image:

    mount /sdcard/ubuntunew.img /d

    Starts mysqld:
    mysqld_safe &

    mounts a s3 bucket:
    s3fs g3-demo /d/var

    and starts a webserver:
    /d/www/bin/apachectl start

    I'd like this script to execute after the system is launched and mounting. I've tried dropping it into /etc/init.d/./rc.local, but it doesn't seem to execute for run properly.

     
  • techjohnny

    techjohnny - 2014-06-17

    Solved. Ended up using the init.sh in the root directory.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.