mirror of
https://github.com/azlux/log2ram.git
synced 2023-10-10 13:37:24 +02:00
bf8f16bba6
* 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
7 lines
204 B
Bash
Executable File
7 lines
204 B
Bash
Executable File
#!/usr/bin/env bash
|
|
systemctl -q is-active log2ram.service && systemctl stop log2ram.service
|
|
systemctl -q is-active log2ram-daily.timer && systemctl stop log2ram-daily.timer
|
|
rm -rf /var/hdd.log
|
|
|
|
exit 0
|