Davin McCall
|
daacd062b1
Separate "runs-on-console" into runs-on- and starts-on- options.
|
7 yıl önce |
Davin McCall
|
5f43c356b1
Use restart timer also for non-smooth-recovery restarts.
|
7 yıl önce |
Davin McCall
|
e327633a36
Correct calculation of restart timeout, and up timeout to 200ms.
|
7 yıl önce |
Davin McCall
|
4bd3733ed1
Minor refactoring / code documentation.
|
7 yıl önce |
Davin McCall
|
707a672dfb
Add a restart timer to limit restart rate.
|
7 yıl önce |
Davin McCall
|
e4fb2d72a4
Fix callback method name per Dasynq changes
|
7 yıl önce |
Davin McCall
|
b639db7888
Clean up one TODO
|
7 yıl önce |
Davin McCall
|
81839d2107
Simplify allDepStarted logic.
|
7 yıl önce |
Davin McCall
|
e09af92fef
service record: move read_pid_file into bgproc_service
|
7 yıl önce |
Davin McCall
|
0ca7669984
service_record: declare handle_exit_status as pure virtual.
|
7 yıl önce |
Davin McCall
|
01b37fd3f4
Refactoring: create base_process_service
|
7 yıl önce |
Davin McCall
|
670499b6f0
Avoid releasing console twice on failure to read pid file.
|
7 yıl önce |
Davin McCall
|
ed694436a4
Break out scripted service as a separate class
|
7 yıl önce |
Davin McCall
|
34f77d13fd
Refactoring.
|
7 yıl önce |
Davin McCall
|
0ade63294c
Minor cleanups.
|
7 yıl önce |
Davin McCall
|
4118a92ca4
Provide and use fallbacks for POSIX functions extended by linux/BSD.
|
7 yıl önce |
Davin McCall
|
ef9652ba98
Rework acquire/release handling.
|
7 yıl önce |
Davin McCall
|
b49af36c05
Update Dasynq library, and API usage throughout.
|
7 yıl önce |
Davin McCall
|
36d2781d9f
Release soft dependencies if they stop early.
|
7 yıl önce |
Davin McCall
|
2ea73e614c
Update dasynq library, and make appropriate changes in dinit code.
|
7 yıl önce |
Davin McCall
|
a8f03b17e4
Run not-on-console services in a session (via setsid()).
|
7 yıl önce |
Davin McCall
|
bb6855c245
Check for state STARTING before calling started() when process status
|
7 yıl önce |
Davin McCall
|
dfa4e453b7
Combine start/stop queues, and add propagation queue.
|
7 yıl önce |
Davin McCall
|
6f1e01813a
Check desired state == started before allowing service to begin
|
7 yıl önce |
Davin McCall
|
37cf1273cc
Fix a TODO comment
|
8 yıl önce |
Davin McCall
|
8c01a856ce
Add a "pass-cs-fd" service option, which passes a control socket file
|
8 yıl önce |
Davin McCall
|
8596e3535c
Remove activated state if a service stops naturally
|
8 yıl önce |
Davin McCall
|
f2334b1867
Clean up signal and fd handling around fork().
|
8 yıl önce |
Davin McCall
|
cb1ec995d1
Ignore SIGTSTP (^Z) for run-on-console processes.
|
8 yıl önce |
Davin McCall
|
b92fb6ffeb
Implement "list services" command in control protocol, and use it in
|
8 yıl önce |