| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
# needrestart - Restart daemons after library updates. |
| 4 |
# |
| 5 |
# Restarting systemd using special systemctl call. |
| 6 |
# |
| 7 |
|
| 8 |
# enable xtrace if we should be verbose |
| 9 |
if [ "$NR_VERBOSE" = '1' ]; then |
| 10 |
set -x |
| 11 |
fi |
| 12 |
|
| 13 |
exec systemctl daemon-reexec |