[systemd-devel] starting Oracle with systemd

Andrei Borzenkov arvidjaar at gmail.com
Fri Oct 31 09:20:15 PDT 2014


В Fri, 31 Oct 2014 11:20:02 -0400
"Fisher, Charles J. (Top Echelon)" <Charles.Fisher at alcoa.com> пишет:

> -----Original Message-----
> 
> 
> >> How about:
>  
> >> http://www.freedesktop.org/software/systemd/man/systemd.kill.html
>  
> >> Would setting KillMode=process for the listener service have the required
> >> effect: on service stop, only kill the main process, leaving the child
> >> processes and cgroup running?
> 
> >Yes, that probably will work around this problem. 
> 
> No, that's not how it works.
> 

What is "that" and what is "it"?

> The listener is forked from the "listener control" utility, so a child process then spawns all database client children for all instances.
> 

I know. So define service that starts listener, use "lsnrctl start" as
ExecStart, "lsnrctl stop" as ExecStop and set KillMode=process (or
"none"). What exactly does not work in this case?


More information about the systemd-devel mailing list