Simplify dependency checking logic.
[oweals/dinit.git] / src / service.cc
2017-09-30 Davin McCallSimplify dependency checking logic.
2017-09-30 Davin McCallRe-work dependency specification for service_record...
2017-09-07 Davin McCallImprove a test (and make it pass).
2017-09-05 Davin McCallKeep all dependencies (soft and regular) in a single...
2017-07-07 Davin McCallservice: fix recently introduced double-start bug.
2017-07-04 Davin McCallMore camelCase to under_score renaming.
2017-07-04 Davin McCallVarious renaming of camelCase to underscored_name for...
2017-07-03 Davin McCallUse getpgid to determine process group of service process.
2017-06-29 Davin McCallsmooth recovery: wait for dependencies to start before...
2017-06-29 Davin McCallbgprocess: eliminate doing_recovery field.
2017-06-27 Davin McCallservice: implement stop timeout / hard kill.
2017-06-27 Davin McCallservice: check error from kill when checking ability...
2017-06-27 Davin McCallservice: add safety check before unlinking old socket...
2017-06-26 Davin McCallservice: improve robustness of read_pid_file().
2017-06-26 Davin McCallservice: use recorded state to check whether we can...
2017-06-26 Davin McCallprocess service: more fixes to child watch reservation.
2017-06-26 Davin McCallVarious renaming (from CamelCase to underscore_separated).
2017-06-25 Davin McCallFix child watch reservation.
2017-06-23 Davin McCallCorrect restart delay check (<= instead of <).
2017-06-20 Davin McCallImprove handling of pid-file reading.
2017-06-19 Davin McCallRemove unneeded function parameter.
2017-06-17 Davin McCallIf a service stops and won't restart, release explicit...
2017-06-16 Davin McCallRefactoring: don't pass list via pointer.
2017-06-16 Davin McCallRefactoring: split loading service from directory into...
2017-06-16 Davin McCallRename ServiceState to service_state_t.
2017-06-16 Davin McCallRename ServiceIoWatcher to exec_status_pipe_watcher.
2017-06-15 Davin McCallIncrease priority of service child status watchers.
2017-06-15 Davin McCallSignal a service process via its process group rather...
2017-06-15 Davin McCallRename various classes/functions for consistency.
2017-06-15 Davin McCallRename ServiceRecord to service_record for consistency
2017-06-13 Davin McCallUse time arithmetic functions from Dasynq (time_val).
2017-06-12 Davin McCallFix issues with restart counting and start failure...
2017-06-12 Davin McCallOn interrupted start, unlink from console wait queue.
2017-06-12 Davin McCallFix potential issue of double-queueing for console...
2017-06-11 Davin McCallService logic simplification/cleanup.
2017-06-09 Davin McCallservice: only force stop dependents if necessary.
2017-06-08 Davin McCallEnable SIGQUIT in child processes.
2017-06-06 Davin McCallAllow service start to be interrupted when waiting...
2017-06-06 Davin McCallMake service restart delay configurable (restart-delay...
2017-06-06 Davin McCallAdd restart-limit-count service setting.
2017-06-05 Davin McCallMake restart check interval configurable.
2017-06-05 Davin McCallLimit number of restarts within an interval
2017-06-03 Davin McCallFix: grant console correctly
2017-06-02 Davin McCallSeparate "runs-on-console" into runs-on- and starts...
2017-06-02 Davin McCallUse restart timer also for non-smooth-recovery restarts.
2017-06-02 Davin McCallCorrect calculation of restart timeout, and up timeout...
2017-06-01 Davin McCallMinor refactoring / code documentation.
2017-06-01 Davin McCallAdd a restart timer to limit restart rate.
2017-06-01 Davin McCallFix callback method name per Dasynq changes
2017-05-30 Davin McCallClean up one TODO
2017-05-30 Davin McCallSimplify allDepStarted logic.
2017-05-30 Davin McCallservice record: move read_pid_file into bgproc_service
2017-05-30 Davin McCallservice_record: declare handle_exit_status as pure...
2017-05-29 Davin McCallRefactoring: create base_process_service
2017-05-29 Davin McCallAvoid releasing console twice on failure to read pid...
2017-05-29 Davin McCallBreak out scripted service as a separate class
2017-05-23 Davin McCallRefactoring.
2017-05-23 Davin McCallMinor cleanups.
2017-04-26 Davin McCallProvide and use fallbacks for POSIX functions extended...
2017-03-29 Davin McCallRework acquire/release handling.
2017-03-19 Davin McCallUpdate Dasynq library, and API usage throughout.
2017-03-19 Davin McCallRelease soft dependencies if they stop early.
2017-03-12 Davin McCallUpdate dasynq library, and make appropriate changes...
2016-11-10 Davin McCallRun not-on-console services in a session (via setsid()).
2016-11-09 Davin McCallCheck for state STARTING before calling started() when...
2016-11-09 Davin McCallCombine start/stop queues, and add propagation queue.
2016-11-08 Davin McCallCheck desired state == started before allowing service...
2016-06-27 Davin McCallFix a TODO comment
2016-06-26 Davin McCallAdd a "pass-cs-fd" service option, which passes a contr...
2016-06-24 Davin McCallRemove activated state if a service stops naturally
2016-06-23 Davin McCallClean up signal and fd handling around fork().
2016-06-23 Davin McCallIgnore SIGTSTP (^Z) for run-on-console processes.
2016-06-23 Davin McCallImplement "list services" command in control protocol...
2016-06-21 Davin McCallCorrect exit status checks (status 0 returned by wait...
2016-06-18 Davin McCallLog correct information regarding reason for process...
2016-06-18 Davin McCallDon't display "can't bind socket: read only file sytem...
2016-06-18 Davin McCallSeparate the commencement of logging and the opening...
2016-06-18 Davin McCallFix calculation of buffer size for LISTEN_FDS environme...
2016-06-18 Davin McCallUpdate Dasynq, again, and update Dinit code to reflect...
2016-06-16 Davin McCallPull in latest Dasynq, which means a massive amount...
2016-06-16 Davin McCallUse the start queue instead of starting services immedi...
2016-06-14 Davin McCallMissed processing start/stop queue in one place
2016-06-14 Davin McCallIntroduce a "stop queue" and "start queue" in ServiceSe...
2016-06-14 Davin McCallUse _exit instead of exit after fork
2016-06-12 Davin McCallFix condition for detecting read failure in process_chi...
2016-06-12 Davin McCallCode consistency and documentation update
2016-06-11 Davin McCallEnable logging to syslog. v0.02
2016-06-07 Davin McCallAvoid hanging if a BGPROCESS is not a child of dinit...
2016-06-06 Davin McCallCode documentation - ServiceRecord and ServiceSet....
2016-06-06 Davin McCallRelease on failure to start.
2016-06-05 Davin McCallRip out libev, replace with dasynq (new library written...
2016-01-19 Davin McCallUse non-blocking I/O and event notification for console...
2016-01-16 Davin McCallIntroduce method to enable/disable console logging...
2016-01-13 Davin McCallMake "pinStart" and "start", and "pinStop" and "stop...
2016-01-12 Davin McCallMark service active if it is started while not active.
2016-01-12 Davin McCallDuring shutdown, let process attrition occur naturally...
2016-01-11 Davin McCallFix stop(). Give it a boolean argument for 2 modes...
2016-01-11 Davin McCallRestore "restart" flag functionality. Services no longe...
2016-01-11 Davin McCallCleanups and refactoring.
2016-01-11 Davin McCallLargish re-work of how dependencies are handled. The...
next