Re: problems with DHCP server / systemd problems

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

 



On Thu, Aug 11, 2011 at 6:00 PM, Genes MailLists <lists@xxxxxxxxxxxx> wrote:
> On 08/11/2011 07:54 PM, Tom Horsley wrote:
>> On Thu, 11 Aug 2011 19:26:50 -0400
>> Genes MailLists wrote:
>>
>>>   Better would be to somehow figure out (outside of systemd) which
>>> services are actually not really running - and restart those.

This little script will check to see if the PID systemd thinks is
supposed to be the main daemon is running and restart it if not:
https://gist.github.com/1141585

>> Unfortunately, most of the services I have problems with appear
>> to be "really running", they just don't work right unless I restart
>> them after the boot :-(.
>
>
>  Hmm ok ... how about the restart all desired services - probably what
> would happen after a glibc update for example ... maybe systemd has a
> restart all systemctl restart All.units or something

Pull a couple conditionals out of the above script, and you can
restart all services:
https://gist.github.com/1141591

(I don't think you want to restart all *units*, as that would entail
unmounting and mounting!)

Of course, ideally you want to figure out what's really gone wrong and
forego all this band-aid nonsense, but it might help you out in the
interim.

-T.C.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux