Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

No MOTD should be added if only disallowed services need to be restarted #2

@thiagomacieira

Description

@thiagomacieira

Just logged in, I see:

 * Some system services need a restart.
   Run `sudo clr-service-restart -a -n` to view them.

But there are no non-disallowed services that need restarting:

$ sudo clr-service-restart -n -a
dbus.service: needs a restart (a library dependency was updated)
/usr/bin/systemctl --no-ask-password try-restart dbus.service
$ ls -l /etc/clr-service-restart/dbus.service
lrwxrwxrwx 1 root root 9 Oct 18 10:55 /etc/clr-service-restart/dbus.service -> /dev/null

The message should not say I should run clr-service-restart. It should either be silent or tell me I need to reboot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions