Commit History

Author SHA1 Message Date
  Davin McCall 632b9671f7 Implement start timeout for services, default of 60 seconds. 6 years ago
  Davin McCall cef233e20c Allow for interrupting process startup (by sending SIGINT). 6 years ago
  Davin McCall f6f570d358 Refactoring: Move fields from service_record to base_process_service. 6 years ago
  Davin McCall 87a3eaf51d service_record: encapsulation: make some members private, add accessors. 6 years ago
  Davin McCall 3510e965c0 Renamed 'start_ps_process' function to 'bring_up'. 6 years ago
  Davin McCall cc017136a7 Rename 'all_deps_stopped' function to 'bring_down'. 6 years ago
  Davin McCall fb9709025f Handle fork+exec failure in a separate virtual method. 6 years ago
  Davin McCall 3bb5ce6551 Typo fix. 6 years ago
  Davin McCall 690823052c Fix potential issue stopping process services. 6 years ago
  Davin McCall 16fe697820 Various minor cleanups. 6 years ago
  Davin McCall af95565cd1 Incorporate upstream changes from Dasynq. 6 years ago
  Davin McCall 5105b6b65c Correct use of SOFT vs WAITS_FOR dependency type in various places. 7 years ago
  Davin McCall a92b511371 Simplify dependency checking logic. 7 years ago
  Davin McCall 5b3291e6e6 Re-work dependency specification for service_record constructors. 7 years ago
  Davin McCall fe03c5b5ed Improve a test (and make it pass). 7 years ago
  Davin McCall e0dfaef51b Keep all dependencies (soft and regular) in a single list. 7 years ago
  Davin McCall d2fa298ffa service: fix recently introduced double-start bug. 7 years ago
  Davin McCall 794993eb83 More camelCase to under_score renaming. 7 years ago
  Davin McCall 08138c09d1 Various renaming of camelCase to underscored_name for consistency. 7 years ago
  Davin McCall 3768e06584 Use getpgid to determine process group of service process. 7 years ago
  Davin McCall 0a5a2ad939 smooth recovery: wait for dependencies to start before relaunch. 7 years ago
  Davin McCall 175a0b1b1e bgprocess: eliminate doing_recovery field. 7 years ago
  Davin McCall 49079e4024 service: implement stop timeout / hard kill. 7 years ago
  Davin McCall 0cf5edd103 service: check error from kill when checking ability to track child. 7 years ago
  Davin McCall d02c9d00b1 service: add safety check before unlinking old socket path. 7 years ago
  Davin McCall b2bda6eb6e service: improve robustness of read_pid_file(). 7 years ago
  Davin McCall 05f1ad25b8 service: use recorded state to check whether we can track child process 7 years ago
  Davin McCall f2acb732bc process service: more fixes to child watch reservation. 7 years ago
  Davin McCall a1137a6da3 Various renaming (from CamelCase to underscore_separated). 7 years ago
  Davin McCall cf06cc9f6b Fix child watch reservation. 7 years ago