> On 16 Sep 2024, at 10:48, Patrick O'Callaghan <[email protected]> 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.

Barry
-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to