Alexander Andreev
|
77af8817fc
|
An AreProcessesUp func was turned into a lambda func.
|
2024-01-13 04:55:19 +04:00 |
Alexander Andreev
|
37bc8b0f1b
|
Also moved a Configuration struct to main.go.
|
2024-01-13 04:42:19 +04:00 |
Alexander Andreev
|
64b5966b48
|
Cause a proper server shutdown if a list reload fail by defering it.
|
2024-01-13 04:41:46 +04:00 |
Alexander Andreev
|
99d53b31a0
|
Version was set to 3.1.1, and a year got incremented.
|
2024-01-13 04:22:34 +04:00 |
Alexander Andreev
|
0cafa69cab
|
Print a version to stderr.
|
2024-01-13 04:03:29 +04:00 |
Alexander Andreev
|
ffb401fd9b
|
Avoiding of junk in logs.
|
2024-01-13 04:02:56 +04:00 |
Alexander Andreev
|
df3376bc69
|
A copyright has been moved to a next line.
|
2024-01-13 03:56:20 +04:00 |
Alexander Andreev
|
37105a9c8a
|
A Process type and a GetProcessesState() func was moved to main.go.
|
2024-01-13 03:54:34 +04:00 |
Alexander Andreev
|
e1f7dd81b6
|
Moved AreProcessesUp() handler to main.go.
|
2023-12-15 04:02:56 +04:00 |
Alexander Andreev
|
df3714d071
|
Version 3.0.0. Throwed out everything not used but for whatever reason added previously.
|
2023-12-15 04:00:26 +04:00 |
Alexander Andreev
|
e5f20ea93a
|
Version was changed to 2.0.1. Description was changed.
|
2023-02-04 20:42:24 +04:00 |
Alexander Andreev
|
4cf95a18c0
|
Only short flags left. version() and printWatchedProcesses() funcs are removed and its body was moved in-place.
|
2022-10-10 00:18:17 +04:00 |
Alexander Andreev
|
7c72851554
|
[main.go] listWatchedProcesses -> print... . Moving it and version to bottom.
Use os.Exit(0) instead of just return from main.
StoreConfiguration moved out Add/RemoveProcess methods.
|
2022-01-06 03:24:57 +04:00 |
Alexander Andreev
|
a3c48bde52
|
Updated version to 1.3.2.
|
2022-01-02 21:57:32 +04:00 |
Alexander Andreev
|
78db11ed69
|
Updated version to 1.3.1.
|
2022-01-02 21:31:42 +04:00 |
Alexander Andreev
|
c7fe073623
|
Code was restructurised again. Moved out back to root dir.
Ditched JSON configuration file. Replaced with simple key = value format. Added indented_output option to format output with indent.
|
2022-01-02 21:30:56 +04:00 |
Alexander Andreev
|
8dac26b2bb
|
Removed check for pgrep. IsProcessUP replaced by GetProcessPIDs.
|
2022-01-02 05:28:37 +04:00 |
Alexander Andreev
|
10e23fcb6e
|
License is switched to MIT+NIGGER. :)
|
2022-01-02 05:13:20 +04:00 |
Alexander Andreev
|
0c8dc36697
|
Moving other source code files into prog package. Renaming processes.json to config.json.
|
2022-01-02 02:56:46 +04:00 |
Alexander Andreev
|
d9087102fd
|
Aside from JSON there is also XML available now. You need to provide an Accept: application/xml to get XML. Fixed removing from list, so it works now. Implemented reloading of list of procs by sending SIGHUP signal to process. Spread everything across multiple files for readability.
|
2021-12-24 23:28:50 +04:00 |
Alexander Andreev
|
e594c0024f
|
Formatting fixing.
|
2021-11-04 00:17:17 +04:00 |
Alexander Andreev
|
4ed4b466b0
|
Added --add, --remove, and --list options to edit a list of processes in a configuration file. Implemented StoreConfiguration func to save changes back to a file. Changed version text.
|
2021-11-03 23:52:57 +04:00 |
Alexander Andreev
|
aede45a865
|
Initial commit.
|
2021-03-13 03:17:30 +04:00 |