Re: Graceful shutoff of Apache without it being a service.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: users@xxxxxxxxxxxxxxxx
- Subject: Re: Graceful shutoff of Apache without it being a service.
- From: Jonathon Koyle <litereader@xxxxxxxxx>
- Date: Fri, 7 May 2021 13:54:28 -0600
- In-reply-to: <CAB7OQodAb0YOTX2=oPZLRiuC_EZNcH2-3pdNVzUwD81tNGAU=g@mail.gmail.com>
- Reply-to: users@xxxxxxxxxxxxxxxx
> 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
<ServiceName>" and "net stop <ServiceName"
as an administrator to script starting and stopping the service. Be
aware, if there happens to be a space in the service name it must be
surrounded with quotes.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]