improve clean shutdown

This commit is contained in:
Richard Frith-Macdonald 2019-10-03 14:36:26 +01:00
parent eb6f2ccbb7
commit a91184d959
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2019-10-03 Richard Frith-Macdonald <rfm@gnu.org>
* EcCommand.m:
When processes shut themselves down gracefully, don't relaunch them
unless they are either configured to autolaunch or are being
restarted.
2019-09-25 Richard Frith-Macdonald <rfm@gnu.org>
* EcCommand.m:

View file

@ -114,7 +114,6 @@ static NSString* cmdWord(NSArray* a, unsigned int pos)
- (void) resetDelay;
- (void) setAlive: (BOOL)l;
- (void) setConfiguration: (NSDictionary*)c;
- (void) setAlive: (BOOL)l;
- (void) setWhen: (NSDate*)w;
- (BOOL) stable;
- (NSDate*) when;
@ -3820,6 +3819,7 @@ NSLog(@"Problem %@", localException);
[o setUnregistered: YES];
[l setAlive: NO];
[l setWhen: nil];
[launching removeObjectForKey: name];
m = [NSString stringWithFormat:
@"\n%@ removed (unregistered) server -\n '%@' on %@\n",
@ -3862,6 +3862,7 @@ NSLog(@"Problem %@", localException);
[o setUnregistered: YES];
[l setAlive: NO];
[l setWhen: nil];
[launching removeObjectForKey: name];
m = [NSString stringWithFormat:
@"\n%@ removed (unregistered) server -\n '%@' on %@\n",