From 7809cc8a5efbf05729077ce8e45a5e40e6ca3250 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Sat, 30 Nov 2019 19:05:14 +0100 Subject: [PATCH] Add logrotate to basic setup --- build/build-all.sh | 2 +- vm.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/build-all.sh b/build/build-all.sh index a3bfdc4..e2f9d15 100755 --- a/build/build-all.sh +++ b/build/build-all.sh @@ -27,7 +27,7 @@ cd ${ROOT}/apk/proj4 abuild -F cd ${ROOT}/apk/rabbitmq-server -apk add -U elixir erlang-compiler erlang-dev erlang-edoc erlang-eldap erlang-erl-docgen erlang-mnesia erlang-os-mon erlang-runtime-tools erlang-tools erlang-xmerl gawk grep libxslt logrotate py2-simplejson python2 rsync socat xmlto zip +apk add -U elixir erlang-compiler erlang-dev erlang-edoc erlang-eldap erlang-erl-docgen erlang-mnesia erlang-os-mon erlang-runtime-tools erlang-tools erlang-xmerl gawk grep libxslt py2-simplejson python2 rsync socat xmlto zip abuild -F cd ${ROOT}/apk/postgis diff --git a/vm.sh b/vm.sh index 8c1faa8..be71927 100755 --- a/vm.sh +++ b/vm.sh @@ -88,7 +88,7 @@ chroot /mnt setup-timezone -z Europe/Prague apk --no-cache add apache2-utils gettext wget https://repo.spotter.cz/vm.tar -O - | tar xf - -C /mnt envsubst /mnt/boot/extlinux.conf -chroot /mnt apk --no-cache add bridge ca-certificates curl e2fsprogs-extra gettext iptables kbd-misc libressl lxc postfix nginx openssh-server openssh-sftp-server util-linux wireguard-virt@vm wireguard-tools-wg@vm acme-sh@vm vmmgr@vm +chroot /mnt apk --no-cache add bridge ca-certificates curl e2fsprogs-extra gettext iptables kbd-misc libressl logrotate lxc postfix nginx openssh-server openssh-sftp-server util-linux wireguard-virt@vm wireguard-tools-wg@vm acme-sh@vm vmmgr@vm chroot /mnt newaliases mkdir -p /mnt/var/log/lxc for SERVICE in cgroups consolefont crond iptables networking nginx ntpd postfix swap urandom vmmgr; do