[arch-general] [PATCH 1/1] systemd: restart services after update

ProgAndy admin at progandy.de
Wed Jun 11 15:56:58 EDT 2014


Am 11.06.2014 19:23, schrieb Lukas Jirkovsky:
> On Wed, Jun 11, 2014 at 12:15 PM, Christian Hesse <list at eworm.de> wrote:
>> From: Christian Hesse <mail at eworm.de>
>>
>> ---
>> [...]
>> +    for SERVICE in systemd-journald systemd-logind systemd-machined systemd-networkd systemd-resolved systemd-udevd; do
>> +      if systemctl is-active ${SERVICE} >/dev/null; then
>> +        systemctl restart ${SERVICE}
>> +      fi
>> +    done
>> [...]
> I don't like the idea of restarting _any_ daemons at all. It should be
> up to user to decide when a daemon is restarted.

In my opinion restarting systemd-logind is a bad idea. What happens to 
an open session if the session manager restarts?


More information about the arch-general mailing list