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
pirms 1 gada
azlux
553ebb0cb3
Reformatted and refactored some files
Merge pull request #199 from HyP3r-/refactor
pirms 1 gada
Andreas Fendt
e16ea0a4dd
Reformatted and refactored some files
pirms 2 gadiem
Ben Lachman
c21abf6994
Check to see if conf file already exists before installing it. ( #191 )
* Update install.sh
* Add existing conf path.
pirms 2 gadiem
Andrea Pitto
2c4ea43ad1
Typos and rewording ( #193 )
pirms 2 gadiem
Azlux
a342af9ed8
Fix ansible variable name
pirms 2 gadiem
Azlux
fd7cebbd1d
check if folder exist
Fix for #147
pirms 2 gadiem
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
pirms 2 gadiem
azlux
5b097683af
Merge pull request #182 from twojstaryzdomu/use_rsync
Restore RSYNC for backwards compatibility
pirms 2 gadiem
twojstaryzdomu
9a4cbf54c2
Removed parameter history of USE_RSYNC from log2ram.conf
pirms 2 gadiem
twojstaryzdomu
7f810f6f25
Restore USE_RSYNC variable for backwards compatibility
pirms 2 gadiem
azlux
500e87f68c
Small typo change
fix #181
pirms 2 gadiem
Azlux
18226e084f
Rollback tests
pirms 2 gadiem
Azlux
2c3f86134d
Fix flush log, rare race condition
No obvious, should fix the issue
pirms 2 gadiem
azlux
83b373d925
Fix #179
pirms 2 gadiem
azlux
6ee7907b80
Modify zram service
pirms 2 gadiem
azlux
d2da092618
added an empty OnCalendar= directive and move timer to 5 min
Merge pull request #166 from fleopaulD/master
pirms 3 gadiem
azlux
8df9bf7d19
Merge pull request #168 from TupaNegreiros/patch-1
Update README.md
pirms 3 gadiem
azlux
2204345300
Change buster to bullseye
pirms 3 gadiem
Tupã Negreiros
fbb75ab5af
Update README.md
Restart journald command
pirms 3 gadiem
azlux
65a7a84623
root privileges required for apt
Merge pull request #164 from pb66/patch-1
pirms 3 gadiem
fleopaulD
1c729d8049
added an empty OnCalendar= directive and move timer to 5 min
pirms 3 gadiem
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.
pirms 3 gadiem
azlux
2977823e71
Merge pull request #162 from rgm3/master
Update ansible playbook
pirms 3 gadiem
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.
pirms 3 gadiem
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
pirms 3 gadiem
azlux
e41b7630fc
ansible playbook to install log2ram
Merge pull request #156 from smu/master
pirms 3 gadiem
Stefan Muthers
a30bf5664e
ansible playbook to install log2ram
pirms 3 gadiem
Christopher Nethercott
82554106c9
Update README.md ( #149 )
pirms 3 gadiem
Azlux
28dd509071
Better readme
fix #135
pirms 4 gadiem
Azlux
d83aa8d631
rm old cron files
preparing new version
pirms 4 gadiem
azlux
c92e706d2d
move timer to 5 min
daily hit in the same time as logrotate.
pirms 4 gadiem
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
pirms 4 gadiem
azlux
00a929d88c
fix part of #121
pirms 4 gadiem
azlux
39ad7923e4
Merge pull request #120 from casperklein/patch-1
Typo fixed
pirms 4 gadiem
azlux
ef291999ba
[FEATURE] Replaces CRON usages by a proper systemd timer
Merge pull request #117 from HorlogeSkynet/feature/systemd_timer
pirms 4 gadiem
Casper
f3673d1ded
Typo fixed
pirms 4 gadiem
azlux
a344e45e3c
Adding apt uninstall method
pirms 4 gadiem
Samuel FORESTIER
6185780cf7
Hide error if not installed as a package or if `dpkg` is not available
pirms 4 gadiem
Samuel FORESTIER
0fdf8827e5
Silence errors when logrotate is not installed
Co-authored-by: emwe1 <emwe1@users.noreply.github.com>
pirms 4 gadiem
Samuel FORESTIER
a5c7f553df
Merge branch 'master' into feature/systemd_timer
pirms 4 gadiem
Azlux
1af7db2b28
rsync by default #115 + fix #119
pirms 4 gadiem
Samuel FORESTIER
c399b4039e
Replaces CRON usages by a proper systemd timer
> Closes #84
> Closes #77
pirms 4 gadiem
Azlux
324902da44
rollback #111
pirms 4 gadiem
Azlux
1406472d8a
Small check in case config not good
pirms 4 gadiem
Azlux
6d5b84ba75
fix indent
pirms 4 gadiem
azlux
0e09169876
work even on a readonly filesystem
Merge pull request #111 from organic-ip/master
pirms 4 gadiem
organic-ip
013ab903e5
indentation fix
pirms 4 gadiem
organic-ip
2264d58597
add lighttpd.service in list
pirms 4 gadiem
organic-ip
4db08b8e52
work with mount point read-only mode
pirms 4 gadiem