1
0
mirror of https://github.com/azlux/log2ram.git synced 2023-10-10 13:37:24 +02:00
Commit Graph

160 Commits

Author SHA1 Message Date
Azlux
13d0058086 Debian packages
Yeah !
2019-12-19 16:51:27 +01:00
azlux
1b8025aa91
Merge pull request #93 from folti/master
start service before syslog-ng service too
2019-09-26 14:48:56 +02:00
Tamas Pal
7cf6164364 start service before syslog-ng service too
prevent conflicts and failed startup of the syslog-ng daemon
if it's been used instead of the default rsyslog.
2019-09-26 12:43:24 +02:00
David MICHEL
0dc5827f5c typo fix + fix rsync command
fix for #92 , bad fuzzy parameter
2019-09-20 14:18:54 +02:00
Azlux
bd38f34a25 better rsync use
typo #82, improvement #81
2019-08-20 01:32:46 +02:00
Zak Kemble
87540578cc Make log2ram shutdown after journald has shutdown
#83 At system shutdown log2ram should wait until journald has shutdown before syncing back to disk, otherwise it will sync an unclosed journal log.
2019-07-26 23:59:56 +01:00
Azlux
07b3599823 Zram option on ReadME 2019-03-13 15:47:06 +01:00
azlux
36a88b8933
from azlux/zram
Zram implementation
2019-03-13 15:29:37 +01:00
StuartIanNaylor
08264d3d3f
Update README.md 2019-03-09 15:24:28 +00:00
StuartIanNaylor
e2e1c65c5f make zram lines create and mount immediate 2019-03-09 14:43:41 +00:00
StuartIanNaylor
c72bc41457 systemd tests due to mount wait rountine 2019-03-09 04:55:45 +00:00
StuartIanNaylor
12e7a068a8 remove ignore systemd 2019-03-09 03:24:27 +00:00
StuartIanNaylor
f86c90f9d6 clean up 2019-03-09 00:24:14 +00:00
StuartIanNaylor
17f8207391 systemd conflict zram-swap-config 2019-03-08 18:21:27 +00:00
StuartIanNaylor
34d32373c3 Add zram functionality 2019-03-08 04:58:06 +00:00
azlux
22dadff534 timeout added
I add timeout. In case of failure, logram will not freeze the OS startup.
2018-07-18 21:24:43 +02:00
azlux
1b2183b4c3
Merge pull request #49 from nachoparker/master
refactor installation script
2018-05-24 13:12:09 +02:00
nacho
0205dae7d9 refactor installation script 2018-05-24 12:27:07 +02:00
azlux
34e4812369 for #47 2018-04-30 23:29:16 +02:00
azlux
2d7951a666 Suggestion from #50
Check if systemd log2ram service is running before the install;
2018-04-30 23:22:47 +02:00
azlux
e41d5a0f23
Upgrade added
Linked to the #30 error
2018-04-23 18:11:06 +02:00
azlux
50a032e5af
Bug fix into Readme
#46
2018-03-03 19:45:34 +01:00
azlux
644739c925 Readme fix 2018-02-18 20:40:38 +01:00
azlux
16ebd29848 Use env instead of /bin/sh
better for flexible shell
2018-02-16 01:03:18 +01:00
azlux
e439c5ffdd shellcheck typo
typo for #32
2018-02-16 00:55:45 +01:00
azlux
9c774dcbb7 Add uninstaller into /usr
Suggestion from #46
2018-02-15 22:39:25 +01:00
azlux
1ed58f986c
#42 better README
minor improvements to the readme
2018-01-15 13:07:41 +01:00
Thomas McWork
939f847038
fix wrong folder name 2018-01-15 08:57:14 +01:00
Thomas McWork
804428d3a3
minor improvements to the readme
minor improvements to the readme
2018-01-14 12:07:56 +01:00
azlux
e88f67ab23
Merge pull request #39 from nhuizing/feature/logrotate
Added logrotate support
2018-01-05 18:45:44 +01:00
Nathan Huizinga
e6d71736c8 Removed unneeded postrotate support 2017-12-29 10:15:43 +01:00
Nathan Huizinga
a66120b94a Resolved conflict 2017-12-28 17:41:49 +01:00
azlux
3f33501c5b
Merge pull request #41 from ErwanAliasr1/evelu-typo
install: Fixing code typo
2017-12-20 22:53:36 +01:00
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.
2017-12-20 22:41:45 +01:00
Nathan Huizinga
8a16abbd76 Fixed: /var/log/log2ram.log handled like all other files. 2017-12-20 10:56:05 +01:00
azlux
9ac0af973c
Better README
Improved readability of the readme and comment in the config file
2017-12-19 18:36:30 +01:00
Henri de Jong
3e7185d210 Improved readability of the readme and comment in the config file 2017-12-18 18:23:23 +00:00
Nathan Huizinga
dc8c788e05 Added logrotate support 2017-12-16 20:33:20 +01:00
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
2017-12-16 12:15:39 +01:00
Nathan Huizinga
4f7c1a33a2 Bug fix: avoid installing when still installed 2017-12-16 11:42:37 +01:00
Nathan Huizinga
0e76e8d655 Fixed: supporting a previous log2ram version again 2017-12-11 08:55:38 +01:00
Nathan Huizinga
1ffd89c70e Fixed: use systemctl reload to write changes to disk and to the log 2017-12-10 22:53:48 +01:00
Nathan Huizinga
8e52dfe231 Revert "Added start, write and stop logging"
This reverts commit 4479c11a41.
2017-12-10 22:37:51 +01:00
Nathan Huizinga
4479c11a41 Added start, write and stop logging 2017-12-07 20:56:57 +01:00
Nathan Huizinga
658161bb04 Fixed consistent naming of /var/hdd.log 2017-12-07 17:42:40 +01:00
azlux
db049c32eb
No error when remove log2ram log
use rm -f instead of rm
2017-11-06 11:36:40 +01:00
Sailing74
585432f0fa
use rm -f instead of rm
Suppresses an error message, if the file does not exist.
2017-11-06 08:32:45 +01:00
azlux
b45e8e95a6 Update log2ram.service 2017-10-09 13:33:20 +02:00
azlux
a31ba4927f Remove old folder 2017-10-02 20:48:02 +02:00
azlux
b7c725f47d Fix for #28
The init is useless and the mount was async.
2017-10-02 20:37:46 +02:00