Package Details: needrestart 3.8-1

Git Clone URL: https://aur.archlinux.org/needrestart.git (read-only, click to copy)
Package Base: needrestart
Description: Restart daemons after library updates.
Upstream URL: https://github.com/liske/needrestart
Licenses: GPL-2.0-or-later
Submitter: t-8ch
Maintainer: t-8ch
Last Packager: blakkheim
Votes: 68
Popularity: 2.00
First Submitted: 2014-10-31 08:21 (UTC)
Last Updated: 2024-11-19 16:42 (UTC)

Pinned Comments

meadow commented on 2024-03-03 13:48 (UTC)

Maybe this can (easily?) solve the issue that -lts kernels are always detected as outdated

https://github.com/liske/needrestart/issues/281#issuecomment-1975120647

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

griffi-gh commented on 2023-04-30 12:51 (UTC) (edited on 2023-04-30 13:00 (UTC) by griffi-gh)

How do I make it not output anything unless some services were found/restarted?

t-8ch commented on 2023-01-04 22:40 (UTC)

Sorry, I missed your comments. Now the hook is part of the package

boris64 commented on 2023-01-04 12:41 (UTC)

I integrated the hook from @Thermi (https://aur.archlinux.org/packages/needrestart#comment-873377 / works great btw.) into the PKGBUILD. If someone else is interested, here's the patch: https://pastebin.com/4yKAAaxx

Thermi commented on 2022-07-10 13:09 (UTC)

Hi, following is my pacman hook for needrestart. Might be useful for you. Goes into /etc/pacman.d/hooks/needrestart.hook

[Trigger]
Operation = Upgrade
Type = Package
Target = *

[Action]
Description = Check if daemons need restart after library/binary upgrades
Exec = /usr/bin/needrestart
When = PostTransaction
Depends = needrestart

merlock commented on 2020-11-21 22:52 (UTC)

@t-8ch...looks like i get the IOTDA (idiot of the day award). Going to delete my previous comment. Thanks!

t-8ch commented on 2020-11-21 19:59 (UTC)

I don't really see how this is specific to cups. It looks more like you still have the old service running after upgrading cups. That old service has indeed a new binary and needrestart tries to restart it but can't because the old service file is not there anymore.

ostroffjh commented on 2020-08-01 15:16 (UTC)

@tedd (in /usr/bin) "ln -s rc-service service" does work. @t-8ch I have artix on my laptops, and restart/reboot more often, so don't use needrestart often. It may well be longer than I remember since it worked.

t-8ch commented on 2020-08-01 10:25 (UTC)

@ostroffjh needrestart decides switches between systemctl and service based on the existence of the /run/systemd/system directory. Maybe some recent update changed this existence and now you get the error. In general for this to ever have worked you would need either the service or systemctl commands available.

tedd commented on 2020-07-31 22:44 (UTC)

@ostroffjh If you make a symlink to rc-service named service does that fix the problem?