ExecStart=/usr/bin/sh -c "/usr/bin/getent group systemd-journal >> /etc/group"
ExecStartPost=/usr/sbin/usermod -aG systemd-journal test
It however failed to execute when it tried ExecStart=/usr/bin/sh -c "getent group systemd-journal >> /etc/group"
Despite changing path and tweaking the script I can't seem to properly add getent group systemd-journal to /etc/group.
Is there any workaround to adding getent group systemd-journal to /etc/group during ignition
Thanks!
Alan