On Mon, 2024-09-16 at 17:40 +0100, Barry wrote: > > > On 16 Sep 2024, at 10:48, Patrick O'Callaghan <pocallaghan@xxxxxxxxx> wrote: > > > > I suspect the real problem is that the cron line is running as root, > > but Apache wants to run as the apache user. I'll try using 'crontab -u > > apache ...' to see if that makes any difference. > > You said the the apachectl just rund a systemctl command. > That means it is the permission to run systemctl that should be the important factor. > Systemctl will run the restart as the right user. > > So root will be correct, I assume. That's probably correct. My change didn't seem to have any effect. poc -- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue