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
4
votes
0 answers

Flex Mobile, how to restart an Android Application?

I'm looking for a way to restart my mobile application, I googled, but I didn't found it. I hope you can help me.. Thanks in advance..
user1551327
4
votes
3 answers

restart a program in C when "if" is used

I continue to learn programming in C, and today I met a problem. In my program, a user must enter a value of time in minutes, and my program will calculate it seconds(very simple, actually). But I want to set a rule, that time cannot be negative.…
454b
  • 133
  • 2
  • 6
  • 12
4
votes
1 answer

Restart mysql within php browser, permissions issue?

I would like to create a button on my website that restarts mysql (I realize this is really bad news). I am using ec2 which has really strict user permissions. This is my php code, but it's not restarting the…
FrankZappa
  • 94
  • 5
3
votes
2 answers

Multi-server monitor/auto restarter in python

I have 2 server programs that must be started with the use of GNU Screen. I'd like to harden these servers against crashes with a Python based program that kicks off each screen session then monitors the server process. If the server process…
Caedis
  • 591
  • 1
  • 8
  • 13
3
votes
1 answer

Self-updating App with App Domain on Different Thread

I've been working to get a windows service to automatically restart an app when there is a new version. My code is below, and it actually works. My question is this: Is there a big no-no in here somewhere? I'm new to creating app domains on separate…
Bob Horn
  • 33,387
  • 34
  • 113
  • 219
3
votes
2 answers

Is it correct that there are particular times when you may need to restart Webrick to see your changes?

I heard Kevin Skoglund (lynda.com) say that it is good practice to get in the habit of restarting Webrick frequently during development. Although generally you do not need to restart Webrick to see your changes, he implied that there are particular…
pez_dispenser
  • 4,394
  • 7
  • 37
  • 47
3
votes
4 answers

Reset function on window resize

I'm using the SlimScroll plugin for my website. I would like to reset/restart the slimscroll function on window resize, because the height and width should be changed according to the height and width of the #content_wrapper div. I tried it trough…
3
votes
1 answer

How to tell if NSWorkspaceWillPowerOffNotification is caused by a restart or a shutdown?

I'm developing a Cocoa app and I need to perform different actions before the app get closed. I need to know when the app is closed due to a restart and when due to a shutdown. Through NSWorkspaceWillPowerOffNotification the app recieves a…
Andrea3000
  • 1,018
  • 1
  • 11
  • 26
3
votes
1 answer

Dask tutorial failing with distributed.nanny - WARNING - Restarting worker

Interested in the possibilities offered by Dask, I started with the dask tutorial, and prepared my laptop by following the instructions as per the tutorial: cloning the repo and making a new conda env with: conda env create -f…
Emek
  • 31
  • 4
3
votes
2 answers

Android widget, after reboot it's not showing up

※it's not a App2sd problem. (at first, you can try this application where android market) https://market.android.com/details?id=com.beadgrip.premierframe This is a PictureFrame Widget. There are two ImageViews in a Widget Layout (2x2 size) 1. Add…
JuHyun Lee
  • 139
  • 1
  • 15
3
votes
2 answers

Restart App Pool from ASP.NET via WMI Problems

I've been trying to create a C# ASP.NET page which sits on a Windows Server 2003 IIS 6 server and when called (remotely), restarts/recycles a specific application pool on the server. I've not been having much luck, does anyone know where I'm going…
Developr
  • 447
  • 8
  • 21
3
votes
2 answers

Django: How to restart webserver so that changes in sourcecode get applied

I using Eclipse with PyDev to develop Django Webapplication. I can start my webserver with python manage.py runserver and then I can test my webapplication locally in my browser. However everytime I change the sourcecode I have to restart eclipse…
Pascal Klein
  • 23,665
  • 24
  • 82
  • 119
3
votes
1 answer

How to disable auto-restart in systemd .service files

I want to disable a systemd service auto-restart after it crashes. I did some search and I found that "Restart" property of .service files has some options, but none of them does not mean "disable". Could anyone help please?
weera
  • 884
  • 1
  • 10
  • 21
3
votes
1 answer

Is it possible to redeploy app on remote weblogic without restarting server?

I have weblogic 12.4.2 running inside Linux and my development environment is in Windows. Currently, if I want to redeploy the app, I do maven clean install and login in to Linux with ssh client, kill process of weblogic, copy my jar files into…
hamidreza75
  • 567
  • 6
  • 15
3
votes
0 answers

How to restart a Rails server *gracefully*?

TL;DR: Rails-server restarts aren't handled gracefully in Action Cable, resulting in corrupted state. How to fix that? I run a Rails server which uses Action Cable, among other things. When I change a file, the server restarts as expected. But it…
Dennis Hackethal
  • 13,662
  • 12
  • 66
  • 115