diff --git a/Brewfile b/Brewfile index 821df1e..d4ecfca 100644 --- a/Brewfile +++ b/Brewfile @@ -33,6 +33,7 @@ brew 'htop' brew 'httpie' brew 'jq' brew 'less' +brew 'logrotate' brew 'lua' brew 'luarocks' brew 'mas' diff --git a/bin/logrotate-ex b/bin/logrotate-ex index 687f62b..46c45b1 100755 --- a/bin/logrotate-ex +++ b/bin/logrotate-ex @@ -1,4 +1,4 @@ -#! /bin/bash +#! /usr/bin/env bash # Parse confx files and generate the conf files. for file in $HOME/.logrotate.d/*.confx; do @@ -7,4 +7,4 @@ for file in $HOME/.logrotate.d/*.confx; do done # Run logrorate like normal against conf files. -logrotate ~/.logrotate.d/*.conf +exec logrotate ~/.logrotate.d/*.conf