← Back to team overview

zeya team mailing list archive

Upstart task for Zeya

 

Hi!

I just tried writing a upstart task (for Ubuntu) to start Zeya at boot time:


This is what I have in my /etc/init/zeya.conf:

<code>

# Start zeya
#

description     "Start Zeya music server"

start on startup

task
exec python /home/r00t/code-hacking/serve-music/zeya/src/zeya/zeya.py --path=/home/r00t/Music

</code>


It works fine for me.

Probably should work for other Upstart based distros too. What are the possible security implications of running it at boot time, ie. as root ?

Thanks
-Amit
--
Journal: http://amitksaha.wordpress.com
µ-blog: http://twitter.com/amitsaha
IRC: cornucopic on #scheme, #lisp, #math, #linux



Follow ups