mirror of
https://github.com/Febbweiss/docker-apache-log-generator.git
synced 2026-03-04 14:25:37 +00:00
Feature: change the source to manage timezone
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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 :
|
||||
----------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user