Debian Codegraph @

ex/nagios/check_needrestart

raw
1 #!/bin/sh
2
3 # needrestart - Restart daemons after library updates.
4 #
5 # Authors:
6 # Thomas Liske <[email protected]>
7 #
8 # Copyright Holder:
9 # 2013 - 2025 (C) Thomas Liske <[email protected]>
10 #
11 # License:
12 # This program is free software; you can redistribute it and/or modify
13 # it under the terms of the GNU General Public License as published by
14 # the Free Software Foundation; either version 2 of the License, or
15 # (at your option) any later version.
16 #
17
18 exec sudo -n -- /usr/sbin/needrestart -p