scripts/libssl-restart-daemons.sh

8 lines
324 B
Bash
Raw Normal View History

2011-01-06 14:04:33 +01:00
#!/usr/bin/env bash
2011-01-06 14:21:38 +01:00
# Author: Oliver Ladner <oli@lugh.ch>
# License: LGPL
2011-01-06 14:04:33 +01:00
#
# Shows all applications using libssl
# They need to be restarted after an OpenSSL upgrade
2014-01-07 20:51:42 +01:00
for lib in $(dpkg -L libssl1.0.0 | egrep "(libcrypto\.so|libssl\.so)"); do lsof -R +c 15 / | grep "$lib"; done | awk {'if ($3==1) print $1'} | sort | uniq