azlux
1a61e1eea5
bookworm repo
1 year ago
azlux
a7d00632b0
Update LICENSE with good email
1 year ago
azlux
2e8d06b807
Added more output on start failure
Merge pull request #203 from a1466d44-d3dc-4c0b-90c7-315b088731d7/master
1 year ago
97b69f63-601b-4697-90db-7cdf2e2a0ea5
cd96c3c3e8
Added more helpfull output to the huge file failue in the syncFromDisk function, and an example command to flush the systemd journal
1 year ago
HyP3r
bf8f16bba6
Added awareness of systemd-journald ( #200 )
* Reformatted and refactored some files
* Added awareness of systemd-journald
- Added dependency for bash in debian control file, because this implementation uses bash arrays
- Changed in all shell scripts the interpreter to bash
- Replaced "service log2ram stop" with "systemctl stop log2ram"
- Replaced "-a" with "] && ["
- Increased SIZE and LOG_DISK_SIZE to 128M and 256M because journald can use a lot of space
- Introduced a new switch JOURNALD_AWARE
1 year ago
azlux
553ebb0cb3
Reformatted and refactored some files
Merge pull request #199 from HyP3r-/refactor
1 year ago
Andreas Fendt
e16ea0a4dd
Reformatted and refactored some files
2 years ago
Ben Lachman
c21abf6994
Check to see if conf file already exists before installing it. ( #191 )
* Update install.sh
* Add existing conf path.
2 years ago
Andrea Pitto
2c4ea43ad1
Typos and rewording ( #193 )
2 years ago
Azlux
a342af9ed8
Fix ansible variable name
2 years ago
Azlux
fd7cebbd1d
check if folder exist
Fix for #147
2 years ago
Guilherme Lima
fbd8868ae1
Update ansible-playbook ( #183 )
- Adds support for missing options in the /etc/log2ram.conf (USE_RSYNC and MAIL)
- apt-key command has been deprecated, as mentioned by issue #179 . Changing it to use a keyring in /usr/share/keyrings
2 years ago
azlux
5b097683af
Merge pull request #182 from twojstaryzdomu/use_rsync
Restore RSYNC for backwards compatibility
2 years ago
twojstaryzdomu
9a4cbf54c2
Removed parameter history of USE_RSYNC from log2ram.conf
2 years ago
twojstaryzdomu
7f810f6f25
Restore USE_RSYNC variable for backwards compatibility
2 years ago
azlux
500e87f68c
Small typo change
fix #181
2 years ago
Azlux
18226e084f
Rollback tests
2 years ago
Azlux
2c3f86134d
Fix flush log, rare race condition
No obvious, should fix the issue
2 years ago
azlux
83b373d925
Fix #179
2 years ago
azlux
6ee7907b80
Modify zram service
2 years ago
azlux
d2da092618
added an empty OnCalendar= directive and move timer to 5 min
Merge pull request #166 from fleopaulD/master
3 years ago
azlux
8df9bf7d19
Merge pull request #168 from TupaNegreiros/patch-1
Update README.md
3 years ago
azlux
2204345300
Change buster to bullseye
3 years ago
Tupã Negreiros
fbb75ab5af
Update README.md
Restart journald command
3 years ago
azlux
65a7a84623
root privileges required for apt
Merge pull request #164 from pb66/patch-1
3 years ago
fleopaulD
1c729d8049
added an empty OnCalendar= directive and move timer to 5 min
3 years ago
Paul
a5d8ce4f9d
root privileges required for apt
Need to use `sudo apt` if not root user. proceeding 2 lines already incorporate `sudo` commands so for consistency these lines should be `sudo` too.
3 years ago
azlux
2977823e71
Merge pull request #162 from rgm3/master
Update ansible playbook
3 years ago
rgm
193c41573c
Update ansible playbook
Use new trusted.gpg.d keyring for apt key, improve idempotency,
only update cache when necessary, only restart service when necessary.
3 years ago
Rasmus Bondesson
f570ff6e4b
README: Small fixed and addition of troubleshooting tips ( #160 )
- Move "Is it working?" section to after "Install"
- Adjust "Is it working?" a bit, mention "systemctl status"
- Wording
- Add Troubleshooting section with journal cleanup tips
3 years ago
azlux
e41b7630fc
ansible playbook to install log2ram
Merge pull request #156 from smu/master
3 years ago
Stefan Muthers
a30bf5664e
ansible playbook to install log2ram
3 years ago
Christopher Nethercott
82554106c9
Update README.md ( #149 )
3 years ago
Azlux
28dd509071
Better readme
fix #135
4 years ago
Azlux
d83aa8d631
rm old cron files
preparing new version
4 years ago
azlux
c92e706d2d
move timer to 5 min
daily hit in the same time as logrotate.
4 years ago
MegaV0lt
549288f8d4
Support path with spaces ( #130 )
* Add quotes and support path with spaces
* Using findmnt instead of mount | grep
findmnt is part of util-linux and should be available on almost all systems
4 years ago
azlux
00a929d88c
fix part of #121
4 years ago
azlux
39ad7923e4
Merge pull request #120 from casperklein/patch-1
Typo fixed
4 years ago
azlux
ef291999ba
[FEATURE] Replaces CRON usages by a proper systemd timer
Merge pull request #117 from HorlogeSkynet/feature/systemd_timer
4 years ago
Casper
f3673d1ded
Typo fixed
4 years ago
azlux
a344e45e3c
Adding apt uninstall method
4 years ago
Samuel FORESTIER
6185780cf7
Hide error if not installed as a package or if `dpkg` is not available
4 years ago
Samuel FORESTIER
0fdf8827e5
Silence errors when logrotate is not installed
Co-authored-by: emwe1 <emwe1@users.noreply.github.com>
4 years ago
Samuel FORESTIER
a5c7f553df
Merge branch 'master' into feature/systemd_timer
4 years ago
Azlux
1af7db2b28
rsync by default #115 + fix #119
4 years ago
Samuel FORESTIER
c399b4039e
Replaces CRON usages by a proper systemd timer
> Closes #84
> Closes #77
4 years ago
Azlux
324902da44
rollback #111
4 years ago
Azlux
1406472d8a
Small check in case config not good
4 years ago
Azlux
6d5b84ba75
fix indent
4 years ago