1
0
mirror of https://github.com/azlux/log2ram.git synced 2023-10-10 13:37:24 +02:00
Commit Graph

148 Commits

Author SHA1 Message Date
StuartIanNaylor
f86c90f9d6 clean up 2019-03-09 00:24:14 +00:00
StuartIanNaylor
17f8207391 systemd conflict zram-swap-config 2019-03-08 18:21:27 +00:00
StuartIanNaylor
34d32373c3 Add zram functionality 2019-03-08 04:58:06 +00:00
azlux
22dadff534 timeout added
I add timeout. In case of failure, logram will not freeze the OS startup.
2018-07-18 21:24:43 +02:00
azlux
1b2183b4c3
Merge pull request #49 from nachoparker/master
refactor installation script
2018-05-24 13:12:09 +02:00
nacho
0205dae7d9 refactor installation script 2018-05-24 12:27:07 +02:00
azlux
34e4812369 for #47 2018-04-30 23:29:16 +02:00
azlux
2d7951a666 Suggestion from #50
Check if systemd log2ram service is running before the install;
2018-04-30 23:22:47 +02:00
azlux
e41d5a0f23
Upgrade added
Linked to the #30 error
2018-04-23 18:11:06 +02:00
azlux
50a032e5af
Bug fix into Readme
#46
2018-03-03 19:45:34 +01:00
azlux
644739c925 Readme fix 2018-02-18 20:40:38 +01:00
azlux
16ebd29848 Use env instead of /bin/sh
better for flexible shell
2018-02-16 01:03:18 +01:00
azlux
e439c5ffdd shellcheck typo
typo for #32
2018-02-16 00:55:45 +01:00
azlux
9c774dcbb7 Add uninstaller into /usr
Suggestion from #46
2018-02-15 22:39:25 +01:00
azlux
1ed58f986c
#42 better README
minor improvements to the readme
2018-01-15 13:07:41 +01:00
Thomas McWork
939f847038
fix wrong folder name 2018-01-15 08:57:14 +01:00
Thomas McWork
804428d3a3
minor improvements to the readme
minor improvements to the readme
2018-01-14 12:07:56 +01:00
azlux
e88f67ab23
Merge pull request #39 from nhuizing/feature/logrotate
Added logrotate support
2018-01-05 18:45:44 +01:00
Nathan Huizinga
e6d71736c8 Removed unneeded postrotate support 2017-12-29 10:15:43 +01:00
Nathan Huizinga
a66120b94a Resolved conflict 2017-12-28 17:41:49 +01:00
azlux
3f33501c5b
Merge pull request #41 from ErwanAliasr1/evelu-typo
install: Fixing code typo
2017-12-20 22:53:36 +01:00
Erwan Velu
737ffd1c19 install: Fixing code typo
The last bracket shall not be glued to the directory.

The actual code is generating a runtime error like the following :
 erwan@raspberrypi:~/download/log2ram $ sudo ./install.sh
 Created symlink /etc/systemd/system/sysinit.target.wants/log2ram.service → /etc/systemd/system/log2ram.service.
 ./install.sh: 19: [: missing ]
 ##### Reboot to activate log2ram #####

This patch simply adds the missing space to make this script work.
2017-12-20 22:41:45 +01:00
Nathan Huizinga
8a16abbd76 Fixed: /var/log/log2ram.log handled like all other files. 2017-12-20 10:56:05 +01:00
azlux
9ac0af973c
Better README
Improved readability of the readme and comment in the config file
2017-12-19 18:36:30 +01:00
Henri de Jong
3e7185d210 Improved readability of the readme and comment in the config file 2017-12-18 18:23:23 +00:00
Nathan Huizinga
dc8c788e05 Added logrotate support 2017-12-16 20:33:20 +01:00
azlux
9f60f97849
fix readme, add fecture
Added:
- check on install
- clear old folder on install
- better uninstall script
- use systemctl instead of manually call script in the cron
2017-12-16 12:15:39 +01:00
Nathan Huizinga
4f7c1a33a2 Bug fix: avoid installing when still installed 2017-12-16 11:42:37 +01:00
Nathan Huizinga
0e76e8d655 Fixed: supporting a previous log2ram version again 2017-12-11 08:55:38 +01:00
Nathan Huizinga
1ffd89c70e Fixed: use systemctl reload to write changes to disk and to the log 2017-12-10 22:53:48 +01:00
Nathan Huizinga
8e52dfe231 Revert "Added start, write and stop logging"
This reverts commit 4479c11a41.
2017-12-10 22:37:51 +01:00
Nathan Huizinga
4479c11a41 Added start, write and stop logging 2017-12-07 20:56:57 +01:00
Nathan Huizinga
658161bb04 Fixed consistent naming of /var/hdd.log 2017-12-07 17:42:40 +01:00
azlux
db049c32eb
No error when remove log2ram log
use rm -f instead of rm
2017-11-06 11:36:40 +01:00
Sailing74
585432f0fa
use rm -f instead of rm
Suppresses an error message, if the file does not exist.
2017-11-06 08:32:45 +01:00
azlux
b45e8e95a6 Update log2ram.service 2017-10-09 13:33:20 +02:00
azlux
a31ba4927f Remove old folder 2017-10-02 20:48:02 +02:00
azlux
b7c725f47d Fix for #28
The init is useless and the mount was async.
2017-10-02 20:37:46 +02:00
azlux
5a47ec1e5a issue 2017-10-02 00:50:31 +02:00
azlux
71ff96ad2a Merge pull request #27 from MegaV0lt/master
Update uninstall.sh
2017-08-27 20:29:08 +02:00
MegaV0lt
f339cd25a1 Update uninstall.sh
Fix typo on line 9
2017-08-23 14:18:50 +02:00
azlux
18c009a6dd Uninstall script
As asked into #23 #21
2017-07-27 20:13:51 +02:00
azlux
ded0d7b895 Merge pull request #22 from lpirl/master
make hourly Cron job quiet
2017-07-25 11:09:28 +02:00
Lukas Pirl
d72b910700 make hourly Cron job quiet
otherwise, systems that are able to send mails would send the uninteresting output every hour to the admin
2017-07-25 10:05:03 +02:00
azlux
2e55fa7bed mail if error 2017-07-18 00:46:54 +02:00
azlux
150136da42 Merge pull request #19 from Sailing74/fixoutofram
unmount tmpfs if RAM too small to prevent corruption of logdir
2017-07-18 00:38:50 +02:00
Sailing74
da1950989f unmount tmpfs if RAM too small to prevent corruption of logdir 2017-07-14 08:51:22 +02:00
azlux
bd1b669ed9 Stupid I am
Log on disk wasn't copy on install, so the shutdown destroy everything.
#18 #17
2017-06-11 20:59:57 +02:00
azlux
9d76a1b082 /me trying to fixe apache2 2017-06-11 20:14:35 +02:00
azlux
1e18687475 REBOOT after install
It's maybe the pb of #17
2017-06-02 19:56:57 +02:00