[Question] Gracefully stopping Everything 1.5 service from CLI

Discussion related to "Everything" 1.5 Alpha.
Post Reply
lifu
Posts: 26
Joined: Tue Jun 15, 2021 11:04 pm

[Question] Gracefully stopping Everything 1.5 service from CLI

Post by lifu »

I upgrade 1.5 using a PowerShell script, but to gracefully stop Everything beforehand, I have to go into the options, turn off the everything service, then close the program from the system tray.

Is there a way to gracefully stop Everything's service from CLI? It doesn't respond to anything but a forced stop, and I'm worried that might eventually lead to database corruption.
therube
Posts: 4967
Joined: Thu Sep 03, 2009 6:48 pm

Re: [Question] Gracefully stopping Everything 1.5 service from CLI

Post by therube »

turn off the everything service
I happen to do that myself, just as a matter of course, when updating, though I don't believe that it actually needs to be done.

(I also always work from a command line.)
From a command line:
everything.exe -uninstall-service
(likewise,
everything. -install-service
)

Command Line Options
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: [Question] Gracefully stopping Everything 1.5 service from CLI

Post by raccoon »

Void said he would consider an Exit & Uninstall Service tray menu, if []Store settings and data in %APPDATA%\Everything is disabled.

viewtopic.php?f=4&t=10575&p=39960&hilit ... ice#p39960
void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: [Question] Gracefully stopping Everything 1.5 service from CLI

Post by void »

The Everything Service doesn't maintain your Everything index.

You can kill the Everything Service without having to worry about database corruption.

everything.exe -uninstall-service
-or-
everything.exe -stop-service
-or-
net stop "Everything"



everything.exe -uninstall-service is preferable as it will terminate the Everything service after 1 minute.
Post Reply