Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status appears to start & stop log2ram. Option to just show status? #201

Open
alan-rpi opened this issue Jan 16, 2023 · 0 comments
Open

Comments

@alan-rpi
Copy link

alan-rpi commented Jan 16, 2023

The command systemctl status log2ram appears to show that log2ram is stopped, the logs flushed to the SD card and then it's restarted:

`log2ram.service - Log2Ram

Loaded: loaded (/etc/systemd/system/log2ram.service; enabled; vendor preset: enabled)

Active: active (exited) since Sat 2023-01-14 18:35:42 GMT; 2 days ago

...................... list of log2ram last log entries

Reloaded Log2Ram.
`

If this is correct could there be a option to just show the status without any stopping and starting and without a list of log2ram last log entries? e.g.

Active: active since Sat 2023-01-14 18:35:42 GMT; 2 days ago

Also, if I stop log2ram with systemctl stop log2ram and then run the status command systemctl status log2ram is this going to restart it? I hope not as my RaspPi crashed the other day when I inserted a USB stick into an attached USB hub and I lost my logs for that day. I need to stop log2ram and confirm it's stopped before putting in a USB stick.

Many thanks for creating this very useful utility.
Alan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant