Questions tagged [restart]

Restart refers to the process where a software program or system is systematically (and preferably gracefully) shut down then automatically invoked to full functionality without intervention from the user.

Restart is also often referred to as reboot or reset.

Restarting a software program or system is one of the most common ways to troubleshoot problems as it will put the program or system back into a fresh and predictable state

1535 questions
10
votes
2 answers

nginx - Can I add a new virtual host without restarting the server?

Can I set a new virtual host using the server object in the nginx.conf configuration file, without restarting the server (and without closing the active connections)? Thanks
Mark
  • 67,098
  • 47
  • 117
  • 162
10
votes
5 answers

'Application.Restart' not working in ClickOnce deployed application

Possible Duplicate: Why is Application.Restart() not reliable? I pulled the code straight from MSDN. This updates my application, but Restart() does not work. The application shuts down, but it does not restart. I added a MenuItem to my Form to…
Chris Holmes
  • 11,444
  • 12
  • 50
  • 64
10
votes
3 answers

ASP.NET application pool shutdown problem

Sometimes an exception causes application pool to shutdown. I start it manually but the question is how can I automate this behavior in IIS 7.0 (Windows server 2008).
Xaqron
  • 29,931
  • 42
  • 140
  • 205
10
votes
6 answers

Android: manual screen orientation without restarting the activity?

I need to make an app playing video with a button for full-screen on the video. The button is used to manually switch between landscape and portrait of the video display. We don't want the auto rotation detect. So the Manifest file is set as…
tim
  • 627
  • 2
  • 7
  • 15
9
votes
2 answers

how do I restart an activity in android?

in an app that I am writing, there is a part of it that allows you to change a curtain setting. the problem is, that this setting won't take effect until the activity is recreated. is there a way to tell the app to restart using the onResume()…
Ephraim
  • 8,352
  • 9
  • 31
  • 48
9
votes
2 answers

No call to onStartCommand() follows the restart of a crashed service in Android 2.3

I have a problem with Android service restart. I am building against API version 7 and running on a device with Android 2.3.3. The problem is, that when my service is killed by the system and is later restarted, only the onCreate() of my service is…
shelll
  • 3,234
  • 3
  • 33
  • 67
9
votes
1 answer

Restarting OSX app programmatically

I need to restart my app in case I reload something that will require a start from the very beginning. I tried this let path = NSBundle.mainBundle().resourcePath!.stringByDeletingLastPathComponent.stringByDeletingLastPathComponent let task =…
qwerty_so
  • 35,448
  • 8
  • 62
  • 86
9
votes
1 answer

Graceful restart to keep connections open

I am sure I saw some open source server written in Go that was able to restart and keep connections open. I can't find it to learn that technique. I know apache.httpd has apachectl graceful that restarts and keeps connections open. How does it done…
Artem
  • 1,307
  • 2
  • 11
  • 23
9
votes
5 answers

How to ask for batch file user input with a timeout

So I am trying to add a timer to one of my if statements under a set command but I'm not sure what the command would be. The script will launch and wait thirty minutes before it reboots the PC or wait for a users input to input it at that time or…
Matt P
  • 618
  • 2
  • 12
  • 20
8
votes
3 answers

Detect if user interacts with phone?

I need to detect when user interacts with the phone and restart my app after 60 seconds from last user's touch on screen. Is is possible to do something like that? It must work as the screenserver for PC.
Gabrielle
  • 4,933
  • 13
  • 62
  • 122
8
votes
2 answers

Restart failed test case automatically in TestNG/Selenium

I am using Selenium webdriver, in Java with TestNG to run an X amount of test cases. What I would like, is for any test case to automatically restart (either from starting or from point of failure), as soon as it fails. I know TestNG framework has…
MostWanted
  • 571
  • 1
  • 5
  • 12
8
votes
1 answer

Silent Windows Installer installer without rebooting automatically

Currently I have an MSI which performs a major upgrade, and it is launched as: msiexec.exe /i installer.msi /qn REBOOT=ReallySuppress My question is regarding that particular property REBOOT=ReallySuppress: does this mean it will not restart the…
Santi Agüero
  • 3,143
  • 8
  • 27
  • 39
8
votes
3 answers

How do you restart Apache with a (web) button click?

I'm playing around with my VM and the code I'm developing requires that I restart apache every time to capture the changes. I thought it would be nice to just have a bookmarklet, or link or button click I could run to do this. Any thoughts on how to…
qodeninja
  • 10,946
  • 30
  • 98
  • 152
8
votes
3 answers

Restart Docker container during build process

I need to restart the Docker container during the build process due dotnetfx. Dockerfile: FROM mcr.microsoft.com/windows/servercore:ltsc2019 SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference =…
Idemax
  • 2,712
  • 6
  • 33
  • 66
8
votes
4 answers

change in configuration/setting without restarting Tomcat

Ideally what I want to be able to do is load in a fresh copy of the config if a change is detected so that if it is updated in the DB, it gets fetched and updated in the application without a restart. I tried to add autodeploy = true inside host,…
Lilac
  • 580
  • 1
  • 7
  • 25