mirror of
https://github.com/troglobit/finit.git
synced 2026-10-21 11:29:42 +00:00
Refactor, use new iwatch module for inotify of Finit *.conf files
- Use iwatch, modeled after pidfile plugin - Use one .conf watcher for all *.conf paths/files - Use full path of conf file for changes, from realpath(). This fixes a long-standing limitation on unique filenames for services, that absolutely nobody knew about Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
ea278a6370
commit
7ef25abecf
3 files changed
+65
-106
No files matched your search
+2
-2
@@ -34,11 +34,11 @@ extern struct rlimit global_rlimit[];
|
||||
int str2rlim(char *str);
|
||||
char *rlim2str(int rlim);
|
||||
|
||||
int conf_init (void);
|
||||
int conf_init (uev_ctx_t *ctx);
|
||||
void conf_reload (void);
|
||||
int conf_any_change (void);
|
||||
int conf_changed (char *file);
|
||||
int conf_monitor (uev_ctx_t *ctx);
|
||||
int conf_monitor (void);
|
||||
|
||||
void conf_parse_cmdline (int argc, char *argv[]);
|
||||
int conf_parse_runlevels (char *runlevels);
|
||||
|
||||
Reference in new issue
Block a user