Procházet zdrojové kódy

Update

Don't need the section "before" anymore.
Upgrade the license to a valid one.
pull/14/head
azlux před 7 roky
rodič
revize
d8080fe551
2 změnil soubory, kde provedl 1 přidání a 12 odebrání
  1. +1
    -1
      LICENSE
  2. +0
    -11
      README.md

+ 1
- 1
LICENSE Zobrazit soubor

@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016
Copyright (c) 2016, Azlux <azlux@outlook.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal


+ 0
- 11
README.md Zobrazit soubor

@@ -19,19 +19,8 @@ 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.

For example, If you use apache instead of nginx, add `apache2.service` into this line.

#### variables :
Into the file `log2ram` (or `/usr/local/bin/log2ram` if you have already installed it), there are two variables into the script : `SIZE=40M` and `USE_RSYNC=false`



Načítá se…
Zrušit
Uložit