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

rsyslog & journalctl examples

This commit is contained in:
StuartIanNaylor 2019-04-10 00:13:31 +01:00
parent 8d2d03517f
commit 658f5329ef

View File

@ -82,6 +82,7 @@ case "$1" in
stop)
syncToDisk
invoke-rc.d rsyslog stop
umount -l $RAM_LOG/
umount -l $HDD_LOG/
if [ "$ZL2R" = true ]; then
@ -93,6 +94,8 @@ case "$1" in
echo "$RAM_DEV" > /sys/class/zram-control/hot_remove
fi
fi
invoke-rc.d rsyslog restart
journalctl --flush
;;
write)