From 13e694c56be05b8462e76674316da2576b0780ea Mon Sep 17 00:00:00 2001 From: azlux Date: Tue, 11 Apr 2017 18:57:52 +0200 Subject: [PATCH] Warning added --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index b394046..599c40a 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,13 @@ into /usr/local/bin/log2ram - You can change the SIZE variable if necessary - If you prefer to use rsync, you can set the USE_RSYNC variable to `true` +**###############** + +**If you install other services who need a /var/log folder (like mysql, apache, nginx) don't forget to run `sudo /usr/local/bin/log2ram write +` to be sure the folder will exist if you reboot before one hour after the log2ram install. The best way is to install log2ram after all other** + +**##############** + ## Customize #### services : If you open the file `/etc/systemd/system/log2ram.service` , you will see a line starting by `Before=`, you can list here the services who need to start after log2ram. You will need to change this line when a service start too fast and stop running because log2ram mount a ram folder where it has start to write log.