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