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
преди 6 години
Nathan Huizinga
a66120b94a
Resolved conflict
преди 6 години
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 години
azlux
7d4a20084b
Update for the new default feature
преди 8 години
Nick Daly
6d57e5fcef
Remove log2ram log on startup, add usage. ( #9 )
Remove log2ram log on startup.
преди 8 години