Add restart service function to web page (specifically uShare information page)
===

I have been using uShare on Ubuntu to serve up media to my Xbox and it's great. The problem I have is adding media and refreshing.  The refresh button on the information page is handy but the Xbox doesn't seem to see the new files etc. I have to restart the service.  I figured it would be great to just have a button in the page that restarts the service.

I pulled the source files and tried to figure out how to go about it. I was able to figure out how the functions they have in place work but couldn't really get past that as my skills are not in C (web tech mainly :\). So can someone give me an idea of how to go about this? 