[CentOS] systemd startup on centos 7

Jonathan Billings

billings at negate.org
Fri Sep 26 14:57:19 UTC 2014


On Fri, Sep 26, 2014 at 10:16:49AM -0400, Jerry Geis wrote:
> Ok I created my script this morning
> 
> [Unit]
> Description=Connections
> After=network.target
> 
> [Service]
> Type=notify
> ExecStart=/home/silentm/bin/mystart
> 
> [Install]
> WantedBy=multi-user.target
> 
> I put it in the correct directory, I rebooted and I see that
> my mystart script runs- programs start up but then
> they are killed with signal 15...
> 
> Is there something else that allows them to continue to run?
> the mystart runs the needed programs then it does exit.
> I presume that mystart exit is killing the children.
> 
> Whats the magic to let the children continue.?

Since you're using Type=notify, does your daemon use sd_notify (or
equivalent) to notify when it has finished starting up?

-- 
Jonathan Billings <billings at negate.org>



More information about the CentOS mailing list