1
0
Commit Graph

11 Commits

Author SHA1 Message Date
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
a3c48bde52
Updated version to 1.3.2. 2022-01-02 21:57:32 +04:00
78db11ed69
Updated version to 1.3.1. 2022-01-02 21:31:42 +04:00
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
8dac26b2bb
Removed check for pgrep. IsProcessUP replaced by GetProcessPIDs. 2022-01-02 05:28:37 +04:00
10e23fcb6e
License is switched to MIT+NIGGER. :) 2022-01-02 05:13:20 +04:00
0c8dc36697
Moving other source code files into prog package. Renaming processes.json to config.json. 2022-01-02 02:56:46 +04:00
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
e594c0024f
Formatting fixing. 2021-11-04 00:17:17 +04:00
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
aede45a865
Initial commit. 2021-03-13 03:17:30 +04:00