[systemd-devel] shutdown from within a service

Mantas Mikulėnas grawity at gmail.com
Mon Feb 23 04:15:03 PST 2015


On Mon, Feb 23, 2015 at 1:33 PM, JB <general at itpsg.com> wrote:

> Hello,
>     I've run into another "side-effect" of systemd's supervisory power
> over processes.  The application is a simple ruby webrick daemon.  It get's
> started just fine.  It provides web service configuration to an appliance.
> One of the service calls gives clients the ability to power down the
> system.  Previously this was an external system call to "shutdown -h now".
> Doing the same thing or even a systemctl isolate poweroff.target yields the
> same results: namely, a timeout is logged while trying to shutdown the ruby
> daemon that has made the system call.  Shutting down any other way goes
> just fine.
>

systemctl --no-block poweroff

-- 
Mantas Mikulėnas <grawity at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150223/53c8d06b/attachment.html>


More information about the systemd-devel mailing list