Add logrotate fix
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 3 seconds
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 3 seconds
This commit is contained in:
parent
ce1e84ba51
commit
5688058732
2 changed files with 14 additions and 0 deletions
|
@ -130,6 +130,7 @@ fi
|
|||
###
|
||||
|
||||
source ./steps-config/50-avahi-daemon.sh
|
||||
source ./steps-config/100-logrotate.sh
|
||||
|
||||
stage_end "$?";
|
||||
|
||||
|
|
13
src/steps-config/100-logrotate.sh
Executable file
13
src/steps-config/100-logrotate.sh
Executable 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
|
Loading…
Reference in a new issue