Re: [users@httpd] Graceful shutoff of Apache without it being a service.

2021-05-07 Thread Jonathon Koyle
> Fine. Just one thing. Can I use apache as a service but run a script on a > computer startup that disables it, and > then run a start/stop it again later? You could write a script that uses the windows commands 'net start " and "net stop

Re: [users@httpd] Graceful shutoff of Apache without it being a service.

2021-05-07 Thread Talin Sharma
Ok! Thanks! I will be using this! On Thu, May 6, 2021 at 8:29 PM Eric Covener wrote: > On Thu, May 6, 2021 at 8:24 PM Talin Sharma > wrote: > > > > Ok... > > > > Fine. Just one thing. Can I use apache as a service but run a script on > a computer startup that disables it, and then run a start/s

Re: [users@httpd] Graceful shutoff of Apache without it being a service.

2021-05-06 Thread Eric Covener
On Thu, May 6, 2021 at 8:24 PM Talin Sharma wrote: > > Ok... > > Fine. Just one thing. Can I use apache as a service but run a script on a > computer startup that disables it, and then run a start/stop it again later? Even simpler IIUC -- Windows services can be set to "manual" such that they do

Re: [users@httpd] Graceful shutoff of Apache without it being a service.

2021-05-06 Thread Talin Sharma
Ok... Fine. Just one thing. Can I use apache as a service but run a script on a computer startup that disables it, and then run a start/stop it again later? Thanks! On Thu, May 6, 2021 at 6:37 PM Eric Covener wrote: > On Thu, May 6, 2021 at 2:51 PM Talin Sharma > wrote: > > > > Look at the su

Re: [users@httpd] Graceful shutoff of Apache without it being a service.

2021-05-06 Thread Eric Covener
On Thu, May 6, 2021 at 2:51 PM Talin Sharma wrote: > > Look at the subject. How do I do this? I don't think there's a supported way to gracefully stop as a non service. Running in the foreground in a terminal is basically just for debugging. https://httpd.apache.org/docs/2.4/platform/windows.htm

Re: [users@httpd] Graceful shutoff of Apache without it being a service.

2021-05-06 Thread Talin Sharma
it looks like you could use > > httpd.exe -k stop > > from the bin directory > > I usually run as a service, but httpd -h gives list of commands > > > > *From:* Talin Sharma > *Sent:* Thursday, May 6, 2021 12:51 PM > *To:* users@httpd.apache.org > *Subject:* [u

RE: [users@httpd] Graceful shutoff of Apache without it being a service.

2021-05-06 Thread paul.leo
Am not sure but it looks like you could use httpd.exe -k stop from the bin directory I usually run as a service, but httpd -h gives list of commands From: Talin Sharma Sent: Thursday, May 6, 2021 12:51 PM To: users@httpd.apache.org Subject: [users@httpd] Graceful shutoff of Apache

[users@httpd] Graceful shutoff of Apache without it being a service.

2021-05-06 Thread Talin Sharma
Look at the subject. How do I do this? I am on windows 10. Thanks!