Hey guys,
I've written a web app that can be configured via a website. Only problem is that after the config has been completed i need to restart the applications service.
Sadly the only way to do that is to have root rights (as far as I'm aware)
Is there a way of allowing the apache user to be able to restart a single service?
Or is there a way of triggering a root action to restart the service?
All of this needs to be scripted so any help is appreciated.
thanks
I've written a web app that can be configured via a website. Only problem is that after the config has been completed i need to restart the applications service.
Sadly the only way to do that is to have root rights (as far as I'm aware)
Is there a way of allowing the apache user to be able to restart a single service?
Or is there a way of triggering a root action to restart the service?
All of this needs to be scripted so any help is appreciated.
thanks