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