1

I would like to install services into init.d folder in most standard way. Suppose I have script which should be run under specific user and starts the service (tomcat8 good example)

.../serviceFoo/start.sh

another script

.../serviceFoo/stop.sh

Now I want to install this as init.d startup scripts so I can /etc/init.d.seviceFoo start|stop|restart. It would be nice if the service would get killed after some time refusing to stop by issuing stop command. It would be even nicer if i can do it by running simple command like

installService user startScript stopScript

Is there something like that in ubuntu ? something like brand new sysv-rc-conf with add button ?

1 Answer 1

0

I think you're looking for upstart. Look specifically at the setuid command.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.