Chris Adams wrote:
> Once upon a time, Patrick O'Callaghan <pocallag...@gmail.com> said:
>> On suspend:
>> Sep 09 01:01:44 Bree systemd[1]: Starting systemd-suspend.service - System 
>> Suspend...
>> Sep 09 01:01:44 Bree systemd[1]: httpd.service: Sent signal SIGWINCH to main 
>> process 332400 (httpd) on client request. <-- From "apachectl graceful-stop"
> 
> You probably would be better to "systemctl stop httpd.service".
> 
>> Sep 09 01:01:44 Bree systemd-sleep[521955]: Performing sleep operation 
>> 'suspend'...
>> 
>> and on resume:
>> 
>> Sep 09 07:55:05 Bree systemd[1]: httpd.service: Sent signal SIGUSR1 to main 
>> process 332400 (httpd) on client request. <------ From "apachectl graceful"
> 
> And then "systemctl start httpd.service" (but maybe after a sleep to
> allow the network a chance to resume?).  By stopping and starting it
> outside of the systemd unit, it turns into an unmanaged service.

FWIW, apachectl in Fedora is a wrapper around systemctl, for
folks who have trained themselves to use apachectl.

I'm not advocating for its use, as I think it's more work to
call it than it is to use systemctl consistently as for
other services.  And for a small, personal webserver, any
benefits of using graceful are hard to imagine as important.

But I don't _think_ it should cause httpd to be unmanaged --
unless there's something more obscure I'm missing (which is
always possible)?

-- 
Todd

Attachment: signature.asc
Description: PGP signature

-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to