Can't access full journalctl from script via systemd service even though user is in systemd-journal group
This might be stupid but here we go.
I am user A on a server and I've added myself to the systemd-journal group and I have a bash script which includes the line Code:
journalctl --since yesterday > output Now I want to automate the execution of the script so I create a systemd service in /home/A/.config/systemd/user looking like Code:
[Unit] Code:
[Unit] Code:
systemctl --user enable script.timer It turns out that it works but with one error. If I look at the journal at the time the timer executes the script I see the following: Code:
Feb 18 05:56:23 machine script[18959]: Hint: You are currently not seeing messages from other users and the system. Any ideas how to fix this? |
All times are GMT -5. The time now is 03:29 AM. |