1
0
Fork 0
Commit Graph

13 Commits

Author SHA1 Message Date
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