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