-
-
Save mkdynamic/1652e7dede41d5916bcd to your computer and use it in GitHub Desktop.
Revisions
-
mkdynamic revised this gist
Mar 19, 2015 . 1 changed file with 1 addition and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,4 @@ sudo apt-get update sudo apt-get upgrade -s | grep ssl | grep Inst | $awk '{print $2}' | xargs -t sudo apt-get install # bounce ssl using services sudo lsof -n | grep ssl | grep deleted | $awk '{print $1}' | uniq | echo -
colby revised this gist
Mar 19, 2015 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,13 +3,13 @@ awk=$(which awk || echo 'missing: install awk' && exit 1) # update apt sudo apt-get update # get ssl related packages from simulated upgrade sudo apt-get upgrade -s | grep ssl | grep Inst | $awk '{print $2}' | xargs -t sudo apt-get install # bounce ssl using services sudo lsof -n | grep ssl | grep deleted | $awk '{print $1}' | uniq | xargs -t -I X sudo service X restart # should now return nothing sudo lsof -n | grep ssl | grep deleted -
colby created this gist
Mar 19, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ #!/bin/bash awk=$(which awk || echo 'missing: install awk' && exit 1) # update apt sudo apt-get update > /dev/null # get ssl related packages from simulated upgrade sudo apt-get upgrade -s | grep ssl | grep Inst | $awk '{print $2}' | xargs sudo apt-get install # bounce ssl using services sudo lsof -n | grep ssl | grep deleted | $awk '{print $1}' | uniq | xargs -I X sudo service X restart # should now return nothing sudo lsof -n | grep ssl