Samuel FORESTIER
0fdf8827e5
Silence errors when logrotate is not installed
Co-authored-by: emwe1 <emwe1@users.noreply.github.com>
il y a 4 ans
Samuel FORESTIER
c399b4039e
Replaces CRON usages by a proper systemd timer
> Closes #84
> Closes #77
il y a 4 ans
Azlux
bd38f34a25
better rsync use
typo #82 , improvement #81
il y a 5 ans
StuartIanNaylor
12e7a068a8
remove ignore systemd
il y a 5 ans
StuartIanNaylor
34d32373c3
Add zram functionality
il y a 5 ans
nacho
0205dae7d9
refactor installation script
il y a 6 ans
azlux
34e4812369
for #47
il y a 6 ans
azlux
2d7951a666
Suggestion from #50
Check if systemd log2ram service is running before the install;
il y a 6 ans
azlux
16ebd29848
Use env instead of /bin/sh
better for flexible shell
il y a 6 ans
azlux
e439c5ffdd
shellcheck typo
typo for #32
il y a 6 ans
azlux
9c774dcbb7
Add uninstaller into /usr
Suggestion from #46
il y a 6 ans
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.
il y a 7 ans
Nathan Huizinga
dc8c788e05
Added logrotate support
il y a 7 ans
Nathan Huizinga
4f7c1a33a2
Bug fix: avoid installing when still installed
il y a 7 ans
Nathan Huizinga
0e76e8d655
Fixed: supporting a previous log2ram version again
il y a 7 ans
Nathan Huizinga
658161bb04
Fixed consistent naming of /var/hdd.log
il y a 7 ans
azlux
a31ba4927f
Remove old folder
il y a 7 ans
azlux
b7c725f47d
Fix for #28
The init is useless and the mount was async.
il y a 7 ans
azlux
bd1b669ed9
Stupid I am
Log on disk wasn't copy on install, so the shutdown destroy everything.
#18 #17
il y a 7 ans
azlux
1e18687475
REBOOT after install
It's maybe the pb of #17
il y a 7 ans
azlux
b232b00950
bad copy/paste ?
il y a 7 ans
azlux
a54aee856d
Configuration file added
il y a 7 ans
Nick Daly
e238849069
Sync the ramlog back to disk, hourly.
- Since the cron job could be called before the user reboots after
install (or if log2ram is disabled), we check that the hdd log
location exists before syncing.
- Copy the log2ram.hourly sync script to cron's hourly directory on
install.
il y a 8 ans
Sailing74
e50a968dce
no x flag for logr2ram.server ( #3 )
no x flag for logr2ram.server
il y a 8 ans
azlux
48980b2de2
I miss all chmod
il y a 8 ans
azlux
f667036300
sudo check
il y a 8 ans
azlux
873593776b
forget the #!
il y a 8 ans
azlux
4df5b08121
Create install.sh
il y a 8 ans