1
0
Commit Graph

74 Commits

Author SHA1 Message Date
e53bf0b77d
process.go was renamed to process_unix.go and build tags for unix was added to it as well. That's to show that currently only unix and unix-like systems are supported. 2023-12-15 04:05:34 +04:00
e1f7dd81b6
Moved AreProcessesUp() handler to main.go. 2023-12-15 04:02:56 +04:00
df3714d071
Version 3.0.0. Throwed out everything not used but for whatever reason added previously. 2023-12-15 04:00:26 +04:00
3de964388a
A separate errors.go has no sense. 2023-02-04 20:48:07 +04:00
242fa48358
README update. 2023-02-04 20:45:43 +04:00
e5f20ea93a
Version was changed to 2.0.1. Description was changed. 2023-02-04 20:42:24 +04:00
cacbf0367f
Removed unused SYSCTL line from Makefile. 2023-02-04 20:36:18 +04:00
e8f4dc79c6
For no particular reason version of go was upped to 1.20. 2023-02-04 20:35:53 +04:00
59a30d5c93
In GetProcessPIDs() var pids was moved to return values. Added a comment. 2023-02-04 20:35:23 +04:00
620c9874c2
Added some more comments. 2023-02-04 20:33:26 +04:00
d0a19ff9aa
Fixed version in archive URL in PKGBUILD. 2022-10-10 00:31:54 +04:00
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
f16e747205
ProcessXMLEntry struct was made into an anonymous struct. 2022-10-10 00:12:45 +04:00
5f4555d769
Program renamed. Version was changed to 2.0.0. Fixed typo. Corrected installation section and link to PKGBUILD. 2022-10-10 00:12:16 +04:00
2477b7ac1e
server.go -> httpserver.go. 2022-10-10 00:11:17 +04:00
97a3a01053
util.go -> proc.go. ioutil.ReadDir -> os.ReadDir. Error handling for dir name convert to int. Added build flags to restrict it to UNIX-like OSs only. 2022-10-10 00:10:34 +04:00
48c7c9a3ea
Config file moved to configs dir. 2022-10-10 00:08:48 +04:00
7c4c378508
WARN: -> [WARN]. ioutil.WriteFile changed to modern os.WriteFile. 2022-10-10 00:08:30 +04:00
c56ef45ed1
A new PKGBUILD. 2022-10-10 00:07:02 +04:00
9e72398daa
Systemd service file was moved to init dir. Program renamed. Added all security tweaks used in other projects. 2022-10-10 00:06:35 +04:00
992c46420c
httpprocwatchd was renamed to httpprocprobed. Added -tags to make executable dynamic. Removed un/install-service targets. Modified paths to files. 2022-10-10 00:05:38 +04:00
4b34ca3ff6
httpprocwatchd was renamed to httpprocprobed. And golang version updated to 1.19. 2022-10-10 00:04:24 +04:00
5afebfe882
Added executable to .gitignore. 2022-10-10 00:03:40 +04:00
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
316c932ac2
[util.go] Optimisation by comparing high part of byte to 3 (numbers in ASCII are going from 0x30 to 0x39). And convert the whole number only if it is PID we are looking for. 2022-01-06 03:22:38 +04:00
a67ecc9c3d
[server.go] Use switch statement by Accept header.
Removing methods and directly making and appending to ProcessList.
2022-01-06 03:17:26 +04:00
006b832574
[processlist.go] Removed NewProcessList and AddProcess funcs.
Passing ProcessList to MarshalXML by pointer instead of value.
2022-01-06 03:15:28 +04:00
e19d69b845
[configuration.go] append a list instead, in case there are multiple processes options.
Removed StoreConfiguratuion from Add/RemoveProcess funcs, and shorten theirs names.
2022-01-06 03:13:52 +04:00
c0407cb4d6
[README.md] Added Instalation section. 2022-01-03 02:22:41 +04:00
33cebee08f
[util.go] It is better to leave just cmdline actually. 2022-01-03 01:35:51 +04:00
cf300b899a
[util.go] It is better to see in a cmdline, rather than in comm.
For example, matrix synapse in comm has just python3. So lets look in both comm and cmdline.
2022-01-03 01:10:15 +04:00
16a60ae504
[util.go] It is better to see in a cmdline, rather than in comm.
For example, matrix synapse in comm has just python3. So lets look in both comm and cmdline.
2022-01-03 01:08:52 +04:00
f536435ab0
[httpprocwatchd.service] Shorten Description. Fixed extension of config file. 2022-01-03 01:04:49 +04:00
4006dd89ea
[Makefile] Update. 2022-01-02 23:05:39 +04:00
2e3d95da81
[Makefile] Update. 2022-01-02 23:03:50 +04:00
6e3d38b084
[PKGBUILD] Update. 2022-01-02 22:59:42 +04:00
5ef2d85eac
[Makefile] Updated. 2022-01-02 22:52:22 +04:00
7f9e3bbc66
[PKGBUILD] Added makedepends. 2022-01-02 22:40:35 +04:00
791b48e043
[Makefile] Removed daemon-reload. Use right way to get path to systemd services. 2022-01-02 22:40:07 +04:00
bab45695d6
[Makefile] Fixed config extension. 2022-01-02 22:05:18 +04:00
a3c48bde52
Updated version to 1.3.2. 2022-01-02 21:57:32 +04:00
e1b8fbf280
Updated README. 2022-01-02 21:56:53 +04:00
2e81cf3950
[server.go] Added text/plain output. 2022-01-02 21:56:35 +04:00
9a8d30e69c
Fixed a typo in a name offile configuration.go. 2022-01-02 21:35:11 +04:00
d5ae05f0e5
Delete old json config file. 2022-01-02 21:33:21 +04:00
73c73c4483
Set version in PKGBUILD. 2022-01-02 21:33:08 +04:00
189554ace1
Added configuration example file. 2022-01-02 21:32:53 +04:00
dc0e4f27e0
[Makefile] Updated wildcard. 2022-01-02 21:32:34 +04:00
17b500ad92
[.gitignore] .json replaced with conf. 2022-01-02 21:32:12 +04:00
78db11ed69
Updated version to 1.3.1. 2022-01-02 21:31:42 +04:00