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
681
votes
10 answers

How do I shutdown, restart, or log off Windows via a bat file?

I've been using Remote Desktop Connection to get into a workstation. But in this environment, I cannot use the power options in Start Menu. I need an alternative way to shutdown or restart. How do I control my computer's power state through the…
Keng
  • 52,011
  • 32
  • 81
  • 111
118
votes
7 answers

How can I configure a systemd service to restart periodically?

I have a simple systemd service that needs to be periodically restarted to keep its process from bugging out. Is there a configuration option for systemd services to periodically restart them? All of the Restart* options seem to pertain to…
wes
  • 7,795
  • 6
  • 31
  • 41
107
votes
13 answers

How can I restart a Java application?

How can I restart a Java AWT application? I have a button to which I have attached an event handler. What code should I use to restart the application? I want to do the same thing that Application.Restart() do in a C# application.
Azfar Niaz
  • 1,516
  • 4
  • 13
  • 21
103
votes
7 answers

Do you have to restart apache to make re-write rules in the .htaccess take effect?

I have pushed my .htaccess files to the production severs, but they don't work. Would a restart be the next step, or should I check something else.
Jesse Hattabaugh
  • 7,876
  • 8
  • 34
  • 38
95
votes
9 answers

Reload configurations without restarting Emacs

How do I load the edited .emacs file without restarting Emacs?
memius
  • 4,045
  • 5
  • 26
  • 25
93
votes
8 answers

How to restart remote MySQL server running on Ubuntu linux?

I'm using Ubuntu 12.04 LTS. There is on MySQL server situated remotely. I want to restart it. Can someone please give me in detail step-by-step instructions to restart the MySQL server? Following are the Database server details of MYSQL I got from…
PHPLover
  • 1
  • 51
  • 158
  • 311
89
votes
14 answers

Android Service Stops When App Is Closed

I am starting a service from my main Android activity as follows: final Context context = base.getApplicationContext(); final Intent intent = new Intent(context, MyService.class); startService(intent); When I close the activity page by swiping it…
Bam
  • 1,183
  • 1
  • 9
  • 13
75
votes
2 answers

Restart TeamCity server via web interface

Is there a way to restart a TeamCity server running on Windows from its web interface? I haven't found a button or documentation whether this is possible.
krlmlr
  • 25,056
  • 14
  • 120
  • 217
64
votes
13 answers

How to restart nginx on OS X

I'm using nginx on OS X 10.8. Freshly installed nginx but can't find a way to restart nginx except kill nginx_pid say kill 64116. Wondering if there are better ways to restart nginx. Found some methods on Google and SO but didn't work: nginx -s…
clwen
  • 20,004
  • 31
  • 77
  • 94
61
votes
7 answers

android:configChanges="orientation" does not work with fragments

I am just trying to adapt some of my applications for HoneyComb. The issue iI am facing is the destruction of my activity on orientation change (landscape/portrait) When I was using a classic activity, I wrote in the manifest: But now, all these…
Waza_Be
  • 39,407
  • 49
  • 186
  • 260
57
votes
8 answers

Refreshing/Restarting PowerShell session w/out exiting

I have been tweaking some of the scripts in my PowerShell profile and it has got annoying to exit powershell then restart it so it will load any changes I have made to the scripts in my profile. Is it possible to restart the powershell session…
shreddish
  • 1,637
  • 8
  • 24
  • 38
51
votes
17 answers

Stop MySQL service windows

I am developing a website and need to refresh data. Therefore MySQL must be stopped. How can I stop the service? When I look at control panel services it is started without stop or restart option.
jop
  • 617
  • 1
  • 6
  • 6
49
votes
5 answers

pause vs stop in docker

I am trying to understand what is the difference between the commands docker stop ContainerID and docker pause ContainerID. According to this page both of them are used to pause an existing Docker container.
ibodi
  • 1,543
  • 3
  • 21
  • 40
45
votes
3 answers

How to recall or restart MathJax?

I need MathJax to recheck again all my page. I mean when the page is created it does all great. But I need to call it after window.onload to reparse the page, as its contents have changed in the meantime. How would I do such a thing?
Rella
  • 65,003
  • 109
  • 363
  • 636
43
votes
4 answers

how to automatically restart a node server?

We are finishing development of a project, the client is already using it but occasionally some errors occur - crashing the server. I know I could register a service as 'upstart' script on linux, in order to have my node service restart when it…
transient_loop
  • 5,984
  • 15
  • 58
  • 117
1
2 3
99 100