From 3db65fc833dac3ad35a9c8162f029d83d5c3bce2 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 26 Nov 2021 22:25:33 +0000 Subject: [PATCH] Done preconfigure in new system --- jobs/preconfigure/misc | 0 jobs/preconfigure/preconfigure.job | 11 ----------- 2 files changed, 11 deletions(-) delete mode 100644 jobs/preconfigure/misc delete mode 100755 jobs/preconfigure/preconfigure.job diff --git a/jobs/preconfigure/misc b/jobs/preconfigure/misc deleted file mode 100644 index e69de29..0000000 diff --git a/jobs/preconfigure/preconfigure.job b/jobs/preconfigure/preconfigure.job deleted file mode 100755 index 082d92a..0000000 --- a/jobs/preconfigure/preconfigure.job +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash - -RUN "sudo apt-get install -y logrotate" - -COPY "${JOBFILE_DIR}/misc" "/tmp/misc" -RUN "sudo mv /tmp/misc /etc/logrotate.d/misc" -RUN "sudo chown root:root /etc/logrotate.d/misc" - -# Fix logrotate issue -RUN "sudo chmod 0750 /var/log" -RUN "sudo systemctl restart logrotate"