Commit graph

47 commits

Author SHA1 Message Date
primardj
7fe2443144 add commands h, a, i, q, 1, 2 2024-04-16 21:16:34 +01:00
primardj
aa0634c2e7 add command c 2024-04-16 20:20:48 +01:00
primardj
e24e2dcbc9 add the p command 2024-04-16 20:16:48 +01:00
primardj
a5ceacde6e improve the printing of the result to corespond more to the original. 2024-04-16 20:00:26 +01:00
primardj
92e01299bc make a few optimisations in executor 2024-04-16 00:04:29 +01:00
primardj
14b762520f other smalls optimisations. 2024-04-15 23:38:24 +01:00
primardj
3f57120e53 change a big if chain by a match. 2024-04-15 23:24:24 +01:00
primardj
b7ad89359b small optimisation 2024-04-15 23:19:02 +01:00
primardj
d5064ae281 add o command and solve some littles problems with prints. 2024-04-15 23:09:15 +01:00
primardj
cb96b16438 split status_obj/misc.rs into three files. 2024-04-14 21:20:47 +01:00
primardj
486820f096 add execution of the check script when it is, and some code optimisations. 2024-04-14 20:41:30 +01:00
primardj
cb8768b6f5 add method status_update and do optimisation on up and down verbose command. 2024-04-13 23:41:11 +01:00
primardj
94f8aebd3a add verbose, svwait and down command 2024-04-13 23:24:59 +01:00
primardj
6d9fb61ef8 correct printing in code, suppress useless comments. 2024-04-13 20:19:00 +01:00
primardj
1bcbcc9082 rename svlogd svlogd-rustit and chpst chpst-rustit 2024-04-13 20:00:41 +01:00
primardj
707d7a2f3d rename sv to sv-rustit 2024-04-13 19:57:16 +01:00
primardj
c0ae3d3aed implem sent_signal and command u 2024-04-13 19:52:51 +01:00
primardj
f2a9af6168 return to 2021 features, and add replace old way to detect error when trying to open fifo file 2024-04-13 19:19:46 +01:00
primardj
b971ae1c6c Solve the freeze in case no runsv to listen to fifo. 2024-04-13 00:05:41 +01:00
primardj
3b44aa3a07 remove some useless comments. 2024-04-12 00:27:29 +01:00
primardj
968b9e7e87 finish basic status command 2024-04-12 00:17:31 +01:00
primardj
37783dffe7 suppress alot of useless files. 2024-04-11 20:28:58 +01:00
primardj
a4ee3033b0 add status_time 2024-04-11 17:45:35 +01:00
primardj
28fb89caee add print for each services asked. 2024-04-11 17:08:36 +01:00
primardj
940f2957e3 add log function, and join the new object to replaces all thoses stupids functions. The arn't removed yet. 2024-04-11 13:30:59 +01:00
primardj
a6debb3e51 add new method to Status_obj 2024-04-11 00:17:51 +01:00
primardj
2a11b44fe1 create struct status_obj 2024-04-10 23:14:38 +01:00
primardj
84622ce986 split executor file in a lot of smaller files, make basic status function. 2024-04-09 00:40:01 +01:00
primardj
6e497b3164 add the ability to read pid in supervise/status 2024-04-08 21:33:17 +01:00
primardj
591afb7f7b add supervise/ok check, and correct return exit_code. 2024-04-08 12:42:06 +01:00
primardj
61ccac3415 try change to service directory 2024-04-07 22:40:26 +01:00
primardj
36f77b3edb make a good path for a service 2024-04-07 22:01:39 +01:00
primardj
7674e823b9 create module executor and pass to it all it's parametters. 2024-04-07 19:27:08 +01:00
primardj
14c01eb796 solve panicking with flag é 2024-04-06 11:48:48 +01:00
9180aa998d Merge branch 'main' into flags 2024-04-06 00:47:22 +02:00
primardj
89efeec505 if flag not known, print a proper message jaaj 2024-04-05 23:46:50 +01:00
primardj
f3a03ab4d1 set the command 2024-04-05 23:41:24 +01:00
primardj
f12f786f46 add misc as public parser module 2024-04-05 23:33:31 +01:00
primardj
d1ebe941d4 add flag detections 2024-04-05 23:33:10 +01:00
bee369b5f8 Merge branch 'main' into corrections 2024-04-06 00:06:07 +02:00
primardj
3a4559723b change possible and cpossible in const static 2024-04-05 23:03:54 +01:00
primardj
0db8158795 remove an useless TODO and add three good ones. 2024-04-05 22:19:10 +01:00
primardj
989025fe69 add env var SVWAIT 2024-04-05 22:10:11 +01:00
primardj
a66357a179 check value env variable SVDIR 2024-04-05 22:00:23 +01:00
primardj
41b25cd984 make a parser for sv 2024-04-05 20:12:55 +01:00
primardj
3c18c49ea0 read args given to sv 2024-04-05 17:34:08 +01:00
primardj
2291e62e50 create all phase 1 projects 2024-04-05 17:18:20 +01:00