StuartIanNaylor
34d32373c3
Add zram functionality
5 years ago
azlux
22dadff534
timeout added
I add timeout. In case of failure, logram will not freeze the OS startup.
6 years ago
azlux
1b2183b4c3
Merge pull request #49 from nachoparker/master
refactor installation script
6 years ago
nacho
0205dae7d9
refactor installation script
6 years ago
azlux
34e4812369
for #47
6 years ago
azlux
2d7951a666
Suggestion from #50
Check if systemd log2ram service is running before the install;
6 years ago
azlux
e41d5a0f23
Upgrade added
Linked to the #30 error
6 years ago
azlux
50a032e5af
Bug fix into Readme
#46
6 years ago
azlux
644739c925
Readme fix
6 years ago
azlux
16ebd29848
Use env instead of /bin/sh
better for flexible shell
6 years ago
azlux
e439c5ffdd
shellcheck typo
typo for #32
6 years ago
azlux
9c774dcbb7
Add uninstaller into /usr
Suggestion from #46
6 years ago
azlux
1ed58f986c
#42 better README
minor improvements to the readme
6 years ago
Thomas McWork
939f847038
fix wrong folder name
6 years ago
Thomas McWork
804428d3a3
minor improvements to the readme
minor improvements to the readme
6 years ago
azlux
e88f67ab23
Merge pull request #39 from nhuizing/feature/logrotate
Added logrotate support
6 years ago
Nathan Huizinga
e6d71736c8
Removed unneeded postrotate support
7 years ago
Nathan Huizinga
a66120b94a
Resolved conflict
7 years ago
azlux
3f33501c5b
Merge pull request #41 from ErwanAliasr1/evelu-typo
install: Fixing code typo
7 years ago
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.
7 years ago
Nathan Huizinga
8a16abbd76
Fixed: /var/log/log2ram.log handled like all other files.
7 years ago
azlux
9ac0af973c
Better README
Improved readability of the readme and comment in the config file
7 years ago
Henri de Jong
3e7185d210
Improved readability of the readme and comment in the config file
7 years ago
Nathan Huizinga
dc8c788e05
Added logrotate support
7 years ago
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
7 years ago
Nathan Huizinga
4f7c1a33a2
Bug fix: avoid installing when still installed
7 years ago
Nathan Huizinga
0e76e8d655
Fixed: supporting a previous log2ram version again
7 years ago
Nathan Huizinga
1ffd89c70e
Fixed: use systemctl reload to write changes to disk and to the log
7 years ago
Nathan Huizinga
8e52dfe231
Revert "Added start, write and stop logging"
This reverts commit 4479c11a41
.
7 years ago
Nathan Huizinga
4479c11a41
Added start, write and stop logging
7 years ago
Nathan Huizinga
658161bb04
Fixed consistent naming of /var/hdd.log
7 years ago
azlux
db049c32eb
No error when remove log2ram log
use rm -f instead of rm
7 years ago
Sailing74
585432f0fa
use rm -f instead of rm
Suppresses an error message, if the file does not exist.
7 years ago
azlux
b45e8e95a6
Update log2ram.service
7 years ago
azlux
a31ba4927f
Remove old folder
7 years ago
azlux
b7c725f47d
Fix for #28
The init is useless and the mount was async.
7 years ago
azlux
5a47ec1e5a
issue
7 years ago
azlux
71ff96ad2a
Merge pull request #27 from MegaV0lt/master
Update uninstall.sh
7 years ago
MegaV0lt
f339cd25a1
Update uninstall.sh
Fix typo on line 9
7 years ago
azlux
18c009a6dd
Uninstall script
As asked into #23 #21
7 years ago
azlux
ded0d7b895
Merge pull request #22 from lpirl/master
make hourly Cron job quiet
7 years ago
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
7 years ago
azlux
2e55fa7bed
mail if error
7 years ago
azlux
150136da42
Merge pull request #19 from Sailing74/fixoutofram
unmount tmpfs if RAM too small to prevent corruption of logdir
7 years ago
Sailing74
da1950989f
unmount tmpfs if RAM too small to prevent corruption of logdir
7 years ago
azlux
bd1b669ed9
Stupid I am
Log on disk wasn't copy on install, so the shutdown destroy everything.
#18 #17
7 years ago
azlux
9d76a1b082
/me trying to fixe apache2
7 years ago
azlux
1e18687475
REBOOT after install
It's maybe the pb of #17
7 years ago
azlux
ea486efb5f
bash error
source function not available into every /bin/sh
7 years ago
azlux
b232b00950
bad copy/paste ?
7 years ago