> 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
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
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
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
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
Yeah. That doesn't work...
I get : "[Thu May 06 17:07:02.908073 2021] [mpm_winnt:error] [pid 788:tid
404] (OS 2)The system cannot find the file specified. : AH00436: No
installed service named "Apache2.4"."
On Thu, May 6, 2021 at 2:57 PM wrote:
> Am not sure but it looks like you could use
>
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 without