mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
logrotate finish configuration
This commit is contained in:
parent
ad1436aecd
commit
1e372e697b
@ -76,7 +76,8 @@ sudo certbot
|
|||||||
|
|
||||||
# Install logrotate
|
# Install logrotate
|
||||||
# sudo apt-get install -y logrotate
|
# sudo apt-get install -y logrotate
|
||||||
sudo envsubst "$(env | sed -e 's/=.*//' -e 's/^/\$/g')" < $SCRIPT_DIR/logrotate/gradido.conf.template > /etc/logrotate.d/gradido.conf
|
envsubst "$(env | sed -e 's/=.*//' -e 's/^/\$/g')" < $SCRIPT_DIR/logrotate/gradido.conf.template > $SCRIPT_DIR/logrotate/gradido.conf
|
||||||
|
sudo mv $SCRIPT_DIR/logrotate/gradido.conf /etc/logrotate.d/gradido.conf
|
||||||
|
|
||||||
# Webhooks (optional) (for development)
|
# Webhooks (optional) (for development)
|
||||||
sudo apt install webhook
|
sudo apt install webhook
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user