Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liske/needrestart
Restart daemons after library updates.
https://github.com/liske/needrestart
needrestart perl sec
Last synced: about 1 month ago
JSON representation
Restart daemons after library updates.
- Host: GitHub
- URL: https://github.com/liske/needrestart
- Owner: liske
- License: gpl-2.0
- Created: 2013-03-28T23:35:20.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T16:02:58.000Z (2 months ago)
- Last Synced: 2024-09-29T18:41:19.932Z (about 1 month ago)
- Topics: needrestart, perl, sec
- Language: Perl
- Homepage:
- Size: 1.07 MB
- Stars: 423
- Watchers: 17
- Forks: 67
- Open Issues: 47
-
Metadata Files:
- Readme: README.Cont.md
- Changelog: ChangeLog
- License: COPYING
- Authors: AUTHORS
Awesome Lists containing this project
README
needrestart - container support
===============================If needrestart has found a process using obsolete binaries it checks if
the process is part of a container. If the process is part of a container
it might not be possible to restart it using Sys-V/systemd.There are special packages (NeedRestart::CONT::*) implementing the
container detection and restarting.NeedRestart::CONT::docker
-------------------------Recognized by: cgroup path (`/system.slice/docker-*.scope` || `/docker/*`)
Docker containers are ignored (needrestart 2.12+) since there are no updates
within docker containers by design.NeedRestart::CONT::LXC
----------------------Recognized by: cgroup path (`/lxc/*` || `/lxc.payload/*`)
For each container which should be restarted needrestart calls
`lxc-stop --reboot --name $NAME`.This package also supports LXD containers, which are restarted by `lxc restart
$NAME` or `lxc restart --project=$PROJECT $NAME` for containers in projects.NeedRestart::CONT::machined
---------------------------Recognized by: cgroup path (`/machine.slice/machine-*.scope`)
For each container which should be restarted needrestart calls
`machinectl reboot $NAME`.