mirror of
https://github.com/troglobit/finit.git
synced 2026-10-29 12:40:44 +00:00
Initial support for inetd/on-demand services \o/
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
0d098616e8
commit
a5b9f566b3
7 files changed
+315
-17
No files matched your search
@@ -36,6 +36,7 @@
|
||||
#include "sig.h"
|
||||
#include "tty.h"
|
||||
#include "lite.h"
|
||||
#include "inetd.h"
|
||||
|
||||
int debug = 0;
|
||||
int verbose = 1;
|
||||
@@ -251,6 +252,9 @@ int main(int argc, char* argv[])
|
||||
*/
|
||||
svc_runlevel(cfglevel);
|
||||
|
||||
/* Start inetd services */
|
||||
inetd_runlevel(&ctx, runlevel);
|
||||
|
||||
_d("Running svc up hooks ...");
|
||||
plugin_run_hooks(HOOK_SVC_UP);
|
||||
|
||||
|
||||
Reference in new issue
Block a user