Done preconfigure in new system
This commit is contained in:
parent
b166334860
commit
3db65fc833
2 changed files with 0 additions and 11 deletions
|
@ -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"
|
|
Loading…
Reference in a new issue