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年前