failed systemctl services?
Matthew Miller
mattdm at fedoraproject.org
Mon May 4 15:51:08 UTC 2015
On Mon, May 04, 2015 at 07:57:57AM -0700, stan wrote:
> > Is there a process that automatically will try to restart failed
> > systemctl services, or would it be worth creating something to do so?
> > Perhaps in cron.hourly?
> I'm no expert, but my understanding is that there is not.
Actually, *systemd* is that process. That's one of its huge features
missing in the old init system. Take a look at the man page for
systemd.service — search for "Restart=".
However, we don't configure most things that way out of the box... yet.
There was discussion about this three years ago, reopened a year ago...
https://fedorahosted.org/fpc/ticket/191
and the current guidelines
https://fedoraproject.org/wiki/Packaging:Systemd?rd=Packaging:Guidelines:Systemd#Automatic_restarting
but as far as I know there hasn't been a big effort to bring existing
services in line. (Seems like a worthwhile project if anyone's
interested.)
>
> > Might be these are harmless, but not sure.
>
> It doesn't seem harmless that services that the user expects to be
> started, and are configured properly, fail.
>
> It would be good if you opened a bugzilla against systemd for an RFE
> requesting such a utility.
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
--
Matthew Miller
<mattdm at fedoraproject.org>
Fedora Project Leader
More information about the users
mailing list