Add logrotate fix
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 3 seconds

This commit is contained in:
Starbeamrainbowlabs 2021-11-26 22:24:06 +00:00
parent ce1e84ba51
commit 5688058732
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 14 additions and 0 deletions

View file

@ -130,6 +130,7 @@ fi
### ###
source ./steps-config/50-avahi-daemon.sh source ./steps-config/50-avahi-daemon.sh
source ./steps-config/100-logrotate.sh
stage_end "$?"; stage_end "$?";

View file

@ -0,0 +1,13 @@
#!/usr/bin/env bash
if ! command_exists logrotate; then
task_begin "Installing logrotate";
queue_apt_install logrotate;
mkdir -p /etc/logrotate.d;
touch /etc/logrotate.d/misc;
task_end "$?" "Failed to configure installation of logrotate";
fi