mirror of
https://github.com/troglobit/finit.git
synced 2026-10-26 12:14:37 +00:00
Fix #343: handle 'initctl reload' of unmodified non-native services
When 'initctl reload' is called new "configuration generation" is started by Finit. This mechanism ensures services reaffirm their readiness and helps distinguish between their ready before reload and after. For native services the pidfile plugin handles this. The s6 style services are one-shot only, and thus use a static ready condition. This patch adds support for stepping the configuration generation of unmodified systemd style services. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
3dd56ed8af
commit
56cb6f8613
3 files changed
+39
No files matched your search
@@ -49,6 +49,7 @@ void service_step_all (int types);
|
||||
void service_worker (void *unused);
|
||||
|
||||
int service_completed (void);
|
||||
void service_notify_reconf (void);
|
||||
|
||||
void service_init (void);
|
||||
|
||||
|
||||
Reference in new issue
Block a user