Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thiagomacieira opened this issue Nov 7, 2018 · 0 comments

Comments

@thiagomacieira
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant