{"repo":"azlux/log2ram","free":true,"listed":false,"github":"https://github.com/azlux/log2ram","clone":"git clone https://github.com/azlux/log2ram.git","description":"ramlog like for systemd (Put log into a ram folder)","language":"Shell","stars":3103,"topics":["systemd","sd-card","raspberry-pi","log","ram-folder"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Log2Ram Log2Ram works just like ramlog for systemd (on Debian 8 Jessie for example). Useful for Raspberry Pi for not writing on the SD card all the time. You need it because your SD card doesn't want to suffer anymore! Explanation: The script creates a /var/log mount point in RAM. So any writing of the log to the /var/log folder will not actually be written to disk (in this case to the SD card on a Raspberry Pi) but directly to RAM. By default, every day the CRON job will synchronize the contents in RAM with the folder located on the physical disk. The script will also make this copy of RAM to disk in case of machine shutdowns (but, of course, it still won't do it in case of power failures). This way you can avoid excessive writing on the SD card and extend its life. Log2Ram's script works on every Linux system. If you don't have Systemd, you can still use Log2Ram with your own daemon manager. Log2Ram is based on transient /var/log for Systemd. For more information, check here. --- Table of Contents 1. Installation 2. Is it working? 3. Upgrading 4. Customization 5. Troubleshooting 6. Uninstallation Installation Via APT (recommended) (generalized) Manually For better performances, rsync is a recommended package. REBOOT before installing anything else (for example apache2 ) Is it working? After installing and rebooting, use systemctl to check if Log2Ram started successfully: This will show a color-coded status (green: active/red: failed), as well as the last few log lines. To s","default_branch":null,"files":null,"tree":[],"storefront":"/r/azlux","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/azlux/log2ram/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}