February 1, 2014 Leave a comment
I would like to share with you a simple way to execute commands on startup in Ubuntu. This tip is very useful for example I have an issue on the Netatalk service that do not run properly so every time I have to run the command to restart the service after I login to Ubuntu.
All commands that you need to be executed must be stored in etc/rc.local setting. Open terminal then execute this command:
sudo nano /etc/rc.local
Add the following command to restart Netatalk service, right before “
sudo service netatalk restart exit 0
That’s it! It’s so simple. I have solved the Netatalk service problem for now. So I have more time to take a look what is the problem with the Netatalk service.