How do I run a source as service?

  • Posted October 19, 2014

Hi guys,

I’ve recently compiled Icecast-KH on my Ubuntu box. However I want it to run as a service… Like you can do with icecast when you isntall via apt-get:

I can restart Icecast when installed via apt-get by typing service icecast2 restart

Can I somehow get this working with the Icecast-KH build I built from source?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Writing services with upstart is pretty easy, check out The Upstart Event System: What It Is And How To Use It | DigitalOcean.