On Wed, 2023-09-06 at 19:09 +0100, Barry wrote: > > > > On 6 Sep 2023, at 11:38, Patrick O'Callaghan > > <pocallaghan@xxxxxxxxx> wrote: > > > > ExecStart=/bin/bash -c ' \ > > /usr/sbin/swapoff /SWAP/swapfile ; \ > > /usr/sbin/apachectl graceful ; \ > > ' > > You can avoid the need for bash in this case by using ExecStartPre > > ExecStartPre=/usr/sbin/swapoff /SWAP/swapfile > ExecStart=/usr/sbin/apachectl graceful Thanks, but I'm not sure how this addresses the SElinux problem. 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