fix(logrotate): install config using envsubst
This commit is contained in:
parent
0feb20c906
commit
d29411fe29
1 changed files with 2 additions and 1 deletions
|
@ -11,4 +11,5 @@ if ! [ -d ${LF_DOTFILES_DESTINATION_DIR} ]; then
|
|||
mkdir ${LF_DOTFILES_DESTINATION_DIR}
|
||||
fi
|
||||
|
||||
rsync -avh ${LF_DOTFILES_SOURCE_DIR}/logrotate.conf ${LF_DOTFILES_DESTINATION_DIR}/logrotate.conf && chmod a-rwx,u+rw $_
|
||||
envsubst < ${LF_DOTFILES_SOURCE_DIR}/logrotate.conf > ${LF_DOTFILES_DESTINATION_DIR}/logrotate.conf
|
||||
chmod a-rwx,u+rw ${LF_DOTFILES_DESTINATION_DIR}/logrotate.conf
|
||||
|
|
Loading…
Reference in a new issue