mirror of
https://github.com/troglobit/finit.git
synced 2026-11-18 19:30:56 +00:00
Refactor inetd support to add support for switching runlevels.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
9cb6c88f34
commit
703b7537cf
6 files changed
+212
-142
No files matched your search
@@ -110,8 +110,9 @@ static inline svc_t *finit_svc_connect(void)
|
||||
|
||||
svc_t *svc_new (void);
|
||||
svc_t *svc_find (char *path);
|
||||
svc_t *svc_find_by_pid (pid_t pid);
|
||||
svc_t *svc_find_inetd (char *path, char *service, char *proto, char *port);
|
||||
svc_t *svc_iterator (int restart);
|
||||
svc_t *svc_iterator (int first);
|
||||
void svc_runlevel (int newlevel);
|
||||
|
||||
int svc_register (int type, char *line, char *username);
|
||||
|
||||
Reference in new issue
Block a user