Commit graph

177 commits

Author SHA1 Message Date
rfm
ace6b659b1 Fix logic of test for later date and fix loop count initialisation 2024-10-31 19:30:09 +00:00
rfm
6d980f4f2f Improve resilience of Command reconnecting to Control after loss. 2024-04-29 15:51:19 +01:00
rfm
38a6c2f489 fix minor leak 2024-02-12 16:38:58 +00:00
rfm
cf4cb50d44 Rationalize manual shutdown of processes 2024-02-06 11:57:43 +00:00
rfm
e4bff73213 Fixup error in Command server config and imprve logging 2024-01-15 15:24:42 +00:00
Richard Frith-Macdonald
551b135321 Gix incorrect path separator check 2023-10-11 10:14:20 +01:00
Richard Frith-Macdonald
860c5c24be Check for ability to core dump into Home 2023-10-10 15:54:38 +01:00
Richard Frith-Macdonald
95490d0d5c Home directory must be executable for access 2023-10-10 15:46:23 +01:00
Richard Frith-Macdonald
baa1966e21 Add checks and simple fixups to ensure that the Home value in the launch
information is sane/usable.
2023-10-10 14:15:55 +01:00
Richard Frith-Macdonald
afb667be58 Scripting improvements 2023-04-07 12:09:24 +01:00
Richard Frith-Macdonald
e6e8bafc39 Add more logging for connection of Command server to Control server 2023-04-04 11:38:56 +01:00
Richard Frith-Macdonald
82acb9d313 Reverse logic of command blocking to be blocked by default. 2023-03-10 16:01:19 +00:00
Richard Frith-Macdonald
69364d194d fixup order of entries 2023-03-08 14:43:48 +00:00
Richard Frith-Macdonald
1602e83f84 improve setup of the default environment for processes 2023-01-21 18:04:53 +00:00
Richard Frith-Macdonald
14bc90ba00 improve help text 2023-01-03 10:49:06 +00:00
Richard Frith-Macdonald
9cedbf4679 Improve handling of alarms 2023-01-03 10:40:32 +00:00
Richard Frith-Macdonald
31b74e74c7 Add support for restarting a process via API 2022-11-14 12:51:39 +00:00
Richard Frith-Macdonald
d28d019bb5 Fixup bad checks in previous update 2022-11-11 09:00:33 +00:00
Richard Frith-Macdonald
1f54bdf600 Simplify and extend TLS support 2022-11-09 10:34:04 +00:00
Richard Frith-Macdonald
df2c123655 Add more options for TLS support 2022-11-07 15:21:51 +00:00
Richard Frith-Macdonald
298c8bda79 Improve autolaunch if a process is misconfigured 2022-11-04 10:29:04 +00:00
Richard Frith-Macdonald
bbc7f86228 fix to report delete/compress settings properly 2022-10-21 17:38:25 +01:00
Richard Frith-Macdonald
d48a192b08 Fix SetE option 2022-10-20 10:34:04 +01:00
Richard Frith-Macdonald
e32f34a063 improve instance config handling 2022-02-28 16:41:50 +00:00
Richard Frith-Macdonald
94032651b5 Allow encrypted DO to be swithed on with user default 2022-02-08 14:36:33 +00:00
Richard Frith-Macdonald
704d07f9e6 improve handling of warnings about low disk space 2022-02-07 13:26:45 +00:00
Richard Frith-Macdonald
d5b388213e -alarm: must operate in the thread that the DO connection to the Control server is in. 2021-12-14 23:04:32 +00:00
Richard Frith-Macdonald
8abf307699 Improve clearing alarms from Console 2021-12-10 10:10:50 +00:00
Richard Frith-Macdonald
f1615227e8 add missed change 2021-09-13 12:36:07 +01:00
Richard Frith-Macdonald
1a5c17b3f3 more compress/delete options 2021-09-03 11:34:52 +01:00
Richard Frith-Macdonald
96f07b21de Improve deletion of older logs 2021-09-03 10:17:38 +01:00
Richard Frith-Macdonald
a577accc51 Improve shutdown logging 2021-06-23 16:18:41 +01:00
Richard Frith-Macdonald
e911e2b373 Use status -5 for restart due to reaching MemoryMaximum 2021-06-23 15:44:18 +01:00
Richard Frith-Macdonald
b90dd9e27d Avoid recursion in attempts to contact Control server 2021-06-21 19:11:05 +01:00
Richard Frith-Macdonald
528c6125ef Improve config naming consistency and allow per-launch config of quit time 2021-06-21 09:35:36 +01:00
Richard Frith-Macdonald
1b447ab2fb Changes to support auto restart of hung processes 2021-06-20 15:56:58 +01:00
Richard Frith-Macdonald
1ed666cf0b Security code enhancement 2021-06-18 10:32:45 +01:00
Richard Frith-Macdonald
d0e74e3793 Security updates 2021-06-17 15:27:39 +01:00
Richard Frith-Macdonald
9e8199edb2 Fixup to differentiate between quit-all and terminate 2021-06-08 11:39:20 +01:00
Richard Frith-Macdonald
2cc4b78163 When we explicitly launch, mark a process as not manually stopped 2021-06-08 11:05:09 +01:00
Richard Frith-Macdonald
82cfb1637c New attempt to fix autolaunch to work in conjunction with externally started process. 2021-02-17 15:15:26 +00:00
Richard Frith-Macdonald
df1caea00b Revert last change ... it was making processes autostart after manual shutdown 2021-02-17 14:41:35 +00:00
Richard Frith-Macdonald
8ed23f03f0 After a successful manual shutdown, the desired state is no longer Dead if the launch is not disabled. 2021-02-05 11:51:51 +00:00
Richard Frith-Macdonald
75f34a259d remove client from server before clearing in launch info 2021-02-05 09:21:43 +00:00
Richard Frith-Macdonald
463f16c5cd Report (if in debug mode) when we clear a client but the launch info has a different client set. Do not raise an exception. 2021-02-05 09:18:26 +00:00
Richard Frith-Macdonald
b89e75357e Every five minutes log all the launch information 2021-01-29 15:50:32 +00:00
Richard Frith-Macdonald
7149d8e821 Fix method name in some NSLog entries and add pid information in lanch info description 2021-01-29 14:51:23 +00:00
Richard Frith-Macdonald
354ea49f94 Make sure -restart: only operates on clients which are currently active (or hung) and provide information about when the restart is likely for hung clients. Also tweak resume so that the message about launching being resumed is sent beforemessages about new processes. 2021-01-29 11:44:18 +00:00
Richard Frith-Macdonald
c75d7bb402 Make -progress logs conditional upon the CommandDebug setting, rename a process for clarity, and change the running process listing to report 'stopping' in preference to 'hung' when a hung process is being shut down. 2021-01-29 10:54:52 +00:00
Richard Frith-Macdonald
ddf15e3626 Fix logic for raising an alarm on process stop. If the process was cleanly shut down and is not set to be 'Live' then we don't need an exception. 2021-01-28 17:21:12 +00:00