Re: why does my systemd-services not work?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/16/2011 04:25 AM, Michal Schmidt wrote:
> On 06/16/2011 01:07 PM, Reindl Harald wrote:
>> you can see the master-porcess and a child shortly in ps aux but
>> after a few seconds systemd changes to "deactivating (stop-sigterm)"
>> and is killing the processes
> ...
>
>> [root@testserver:/lib/systemd/system]$ systemctl status dbmail-imapd.service
>> dbmail-imapd.service - DBMail IMAP Server
>>             Loaded: loaded (/lib/systemd/system/dbmail-imapd.service)
>>             Active: deactivating (stop-sigterm) since Thu, 16 Jun 2011 13:05:11 +0200; 1s ago
>>            Process: 5013 ExecStart=/usr/sbin/dbmail-imapd (code=exited, status=0/SUCCESS)
>>           Main PID: 5014 (code=exited, status=0/SUCCESS)
>
> When the main PID of the service exits, the default action is to kill
> the whole cgroup.
> The question is why did the main PID exit in the first place.
>
> Michal

mpd forks and daemonizes itself, so the main pid dies.  Maybe the --no-daemon
arg would help.  Or there might be a more appropriate "Type" for mpd.
-Bob Arendt
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux