Saturday, May 5, 2012

How to run a unix command as a USER on startup?

To run a unix command on startup you may use the command below (add it to the /etc/rc.local file):
su USER -c 'your_command &'

No comments: