Feature: change the source to manage timezone

This commit is contained in:
ECAILLE Fabrice (externe)
2017-03-17 12:05:35 +01:00
parent 7e4a3f0a41
commit ae04347319
2 changed files with 9 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ USER root
RUN apt-get clean && apt-get update \
&& apt-get install -y build-essential unzip \
&& wget -O Fake-Apache-Log-Generator.zip https://github.com/kiritbasu/Fake-Apache-Log-Generator/archive/master.zip \
&& wget -O Fake-Apache-Log-Generator.zip https://github.com/febbweiss/Fake-Apache-Log-Generator/archive/master.zip \
&& unzip Fake-Apache-Log-Generator.zip \
&& mv Fake-Apache-Log-Generator-master /fake-apache-log-generator \
&& rm Fake-Apache-Log-Generator.zip \

View File

@@ -9,6 +9,14 @@ python apache-fake-log-gen.py -o LOG -p /var/log/apache/apache -n 0 -s 3
```
The endless generated file is located in /var/log and a line is appended every 3 seconds.
Timezone :
----------
You can change the timezone mounting */etc/timezone* and */etc/localtime* files with a file content such as :
```shell
Europe/Paris
```
Licences :
----------