azlux
16ebd29848
Use env instead of /bin/sh
better for flexible shell
пре 6 година
azlux
e439c5ffdd
shellcheck typo
typo for #32
пре 6 година
azlux
9c774dcbb7
Add uninstaller into /usr
Suggestion from #46
пре 6 година
azlux
1ed58f986c
#42 better README
minor improvements to the readme
пре 6 година
Thomas McWork
939f847038
fix wrong folder name
пре 6 година
Thomas McWork
804428d3a3
minor improvements to the readme
minor improvements to the readme
пре 6 година
azlux
e88f67ab23
Merge pull request #39 from nhuizing/feature/logrotate
Added logrotate support
пре 6 година
Nathan Huizinga
e6d71736c8
Removed unneeded postrotate support
пре 7 година
Nathan Huizinga
a66120b94a
Resolved conflict
пре 7 година
azlux
3f33501c5b
Merge pull request #41 from ErwanAliasr1/evelu-typo
install: Fixing code typo
пре 7 година
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 година
Nathan Huizinga
8a16abbd76
Fixed: /var/log/log2ram.log handled like all other files.
пре 7 година
azlux
9ac0af973c
Better README
Improved readability of the readme and comment in the config file
пре 7 година
Henri de Jong
3e7185d210
Improved readability of the readme and comment in the config file
пре 7 година
Nathan Huizinga
dc8c788e05
Added logrotate support
пре 7 година
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 година
Nathan Huizinga
4f7c1a33a2
Bug fix: avoid installing when still installed
пре 7 година
Nathan Huizinga
0e76e8d655
Fixed: supporting a previous log2ram version again
пре 7 година
Nathan Huizinga
1ffd89c70e
Fixed: use systemctl reload to write changes to disk and to the log
пре 7 година
Nathan Huizinga
8e52dfe231
Revert "Added start, write and stop logging"
This reverts commit 4479c11a41
.
пре 7 година
Nathan Huizinga
4479c11a41
Added start, write and stop logging
пре 7 година
Nathan Huizinga
658161bb04
Fixed consistent naming of /var/hdd.log
пре 7 година
azlux
db049c32eb
No error when remove log2ram log
use rm -f instead of rm
пре 7 година
Sailing74
585432f0fa
use rm -f instead of rm
Suppresses an error message, if the file does not exist.
пре 7 година
azlux
b45e8e95a6
Update log2ram.service
пре 7 година
azlux
a31ba4927f
Remove old folder
пре 7 година
azlux
b7c725f47d
Fix for #28
The init is useless and the mount was async.
пре 7 година
azlux
5a47ec1e5a
issue
пре 7 година
azlux
71ff96ad2a
Merge pull request #27 from MegaV0lt/master
Update uninstall.sh
пре 7 година
MegaV0lt
f339cd25a1
Update uninstall.sh
Fix typo on line 9
пре 7 година
azlux
18c009a6dd
Uninstall script
As asked into #23 #21
пре 7 година
azlux
ded0d7b895
Merge pull request #22 from lpirl/master
make hourly Cron job quiet
пре 7 година
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 година
azlux
2e55fa7bed
mail if error
пре 7 година
azlux
150136da42
Merge pull request #19 from Sailing74/fixoutofram
unmount tmpfs if RAM too small to prevent corruption of logdir
пре 7 година
Sailing74
da1950989f
unmount tmpfs if RAM too small to prevent corruption of logdir
пре 7 година
azlux
bd1b669ed9
Stupid I am
Log on disk wasn't copy on install, so the shutdown destroy everything.
#18 #17
пре 7 година
azlux
9d76a1b082
/me trying to fixe apache2
пре 7 година
azlux
1e18687475
REBOOT after install
It's maybe the pb of #17
пре 7 година
azlux
ea486efb5f
bash error
source function not available into every /bin/sh
пре 7 година
azlux
b232b00950
bad copy/paste ?
пре 7 година
azlux
a54aee856d
Configuration file added
пре 7 година
azlux
931054c8d9
Typo
пре 7 година
azlux
c7870156ec
Merge pull request #14 from Sailing74/checkdirsize
Added check of tmpfs size before syncing HDD to RAM.
пре 7 година
Sailing74
df63737eac
Added check of tmpfs size before syncing HDD to RAM.
пре 7 година
azlux
18ace5438f
typo
пре 7 година
azlux
d8080fe551
Update
Don't need the section "before" anymore.
Upgrade the license to a valid one.
пре 7 година
azlux
05a31e0e35
Merge pull request #12 from zador-blood-stained/master
Update service dependencies to start on early boot
пре 7 година
zador-blood-stained
01632f9cb1
Update service dependencies to start on early boot
This changes log2ram dependencies to start as early as possible, before other
services that may require access to /var/log, including rsyslog and
systemd-journald.
Additional dependencies on shutdown.target are required to ensure that
the service will be stopped at shutdown/reboot when DefaultDependencies
is set to "no" [1].
RequiresMountsFor declares dependency on /var mount when it is a mount point.
IgnoreOnIsolate prevents stopping the service when isolating another unit.
[1]: https://www.freedesktop.org/software/systemd/man/systemd.service.html
пре 7 година
azlux
13e694c56b
Warning added
пре 7 година