Re: Apache suspend/resume (again)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris Adams wrote:
> Once upon a time, Patrick O'Callaghan <pocallaghan@xxxxxxxxx> 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@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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux