projects
/
oweals
/
dinit.git
/ history
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
first ⋅ prev ⋅
next
Move some #include's around to fix build issue.
[oweals/dinit.git]
/
src
/
service.cc
2018-01-19
Davin McCall
Move some #include's around to fix build issue.
blob
|
commitdiff
|
raw
2018-01-19
Davin McCall
Move some data/functions from service_record to base_pr...
blob
|
commitdiff
|
raw
|
diff to current
2018-01-19
Davin McCall
Re-work console acquisition/release.
blob
|
commitdiff
|
raw
|
diff to current
2018-01-15
Davin McCall
service_record: add boolean issue_stop parameter to...
blob
|
commitdiff
|
raw
|
diff to current
2018-01-14
Davin McCall
Move 'run_child_proc' function into a separate source...
blob
|
commitdiff
|
raw
|
diff to current
2018-01-12
Davin McCall
Pull some commonly occurring declarations into a new...
blob
|
commitdiff
|
raw
|
diff to current
2018-01-11
Davin McCall
Split service.cc into multiple files.
blob
|
commitdiff
|
raw
|
diff to current
2018-01-10
Davin McCall
Fix issue with start timeouts not correctly stopping...
blob
|
commitdiff
|
raw
|
diff to current
2018-01-09
Davin McCall
Big rename/namespace cleanup.
blob
|
commitdiff
|
raw
|
diff to current
2018-01-09
Davin McCall
Minor refactoring/code documentation.
blob
|
commitdiff
|
raw
|
diff to current
2018-01-08
Davin McCall
Properly handle scripted service start interrupt.
blob
|
commitdiff
|
raw
|
diff to current
2018-01-08
Davin McCall
Clean up warning in process_restart_timer.
blob
|
commitdiff
|
raw
|
diff to current
2018-01-08
Davin McCall
Rename service_type (type) to service_type_t.
blob
|
commitdiff
|
raw
|
diff to current
2018-01-08
Davin McCall
Correctly handle start timeout of 0 (i.e. no timeout).
blob
|
commitdiff
|
raw
|
diff to current
2018-01-07
Davin McCall
Implement start timeout for services, default of 60...
blob
|
commitdiff
|
raw
|
diff to current
2018-01-05
Davin McCall
Allow for interrupting process startup (by sending...
blob
|
commitdiff
|
raw
|
diff to current
2018-01-05
Davin McCall
Refactoring: Move fields from service_record to base_pr...
blob
|
commitdiff
|
raw
|
diff to current
2018-01-05
Davin McCall
service_record: encapsulation: make some members privat...
blob
|
commitdiff
|
raw
|
diff to current
2017-12-31
Davin McCall
Renamed 'start_ps_process' function to 'bring_up'.
blob
|
commitdiff
|
raw
|
diff to current
2017-12-31
Davin McCall
Rename 'all_deps_stopped' function to 'bring_down'.
blob
|
commitdiff
|
raw
|
diff to current
2017-12-31
Davin McCall
Handle fork+exec failure in a separate virtual method.
blob
|
commitdiff
|
raw
|
diff to current
2017-12-31
Davin McCall
Typo fix.
blob
|
commitdiff
|
raw
|
diff to current
2017-12-28
Davin McCall
Fix potential issue stopping process services.
blob
|
commitdiff
|
raw
|
diff to current
2017-12-27
Davin McCall
Various minor cleanups.
blob
|
commitdiff
|
raw
|
diff to current
2017-12-11
Davin McCall
Incorporate upstream changes from Dasynq.
blob
|
commitdiff
|
raw
|
diff to current
2017-10-01
Davin McCall
Correct use of SOFT vs WAITS_FOR dependency type in...
blob
|
commitdiff
|
raw
|
diff to current
2017-09-30
Davin McCall
Simplify dependency checking logic.
blob
|
commitdiff
|
raw
|
diff to current
2017-09-30
Davin McCall
Re-work dependency specification for service_record...
blob
|
commitdiff
|
raw
|
diff to current
2017-09-07
Davin McCall
Improve a test (and make it pass).
blob
|
commitdiff
|
raw
|
diff to current
2017-09-05
Davin McCall
Keep all dependencies (soft and regular) in a single...
blob
|
commitdiff
|
raw
|
diff to current
2017-07-07
Davin McCall
service: fix recently introduced double-start bug.
blob
|
commitdiff
|
raw
|
diff to current
2017-07-04
Davin McCall
More camelCase to under_score renaming.
blob
|
commitdiff
|
raw
|
diff to current
2017-07-04
Davin McCall
Various renaming of camelCase to underscored_name for...
blob
|
commitdiff
|
raw
|
diff to current
2017-07-03
Davin McCall
Use getpgid to determine process group of service process.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-29
Davin McCall
smooth recovery: wait for dependencies to start before...
blob
|
commitdiff
|
raw
|
diff to current
2017-06-29
Davin McCall
bgprocess: eliminate doing_recovery field.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-27
Davin McCall
service: implement stop timeout / hard kill.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-27
Davin McCall
service: check error from kill when checking ability...
blob
|
commitdiff
|
raw
|
diff to current
2017-06-27
Davin McCall
service: add safety check before unlinking old socket...
blob
|
commitdiff
|
raw
|
diff to current
2017-06-26
Davin McCall
service: improve robustness of read_pid_file().
blob
|
commitdiff
|
raw
|
diff to current
2017-06-26
Davin McCall
service: use recorded state to check whether we can...
blob
|
commitdiff
|
raw
|
diff to current
2017-06-26
Davin McCall
process service: more fixes to child watch reservation.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-26
Davin McCall
Various renaming (from CamelCase to underscore_separated).
blob
|
commitdiff
|
raw
|
diff to current
2017-06-25
Davin McCall
Fix child watch reservation.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-23
Davin McCall
Correct restart delay check (<= instead of <).
blob
|
commitdiff
|
raw
|
diff to current
2017-06-20
Davin McCall
Improve handling of pid-file reading.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-19
Davin McCall
Remove unneeded function parameter.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-17
Davin McCall
If a service stops and won't restart, release explicit...
blob
|
commitdiff
|
raw
|
diff to current
2017-06-16
Davin McCall
Refactoring: don't pass list via pointer.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-16
Davin McCall
Refactoring: split loading service from directory into...
blob
|
commitdiff
|
raw
|
diff to current
2017-06-16
Davin McCall
Rename ServiceState to service_state_t.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-16
Davin McCall
Rename ServiceIoWatcher to exec_status_pipe_watcher.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-15
Davin McCall
Increase priority of service child status watchers.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-15
Davin McCall
Signal a service process via its process group rather...
blob
|
commitdiff
|
raw
|
diff to current
2017-06-15
Davin McCall
Rename various classes/functions for consistency.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-15
Davin McCall
Rename ServiceRecord to service_record for consistency
blob
|
commitdiff
|
raw
|
diff to current
2017-06-13
Davin McCall
Use time arithmetic functions from Dasynq (time_val).
blob
|
commitdiff
|
raw
|
diff to current
2017-06-12
Davin McCall
Fix issues with restart counting and start failure...
blob
|
commitdiff
|
raw
|
diff to current
2017-06-12
Davin McCall
On interrupted start, unlink from console wait queue.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-12
Davin McCall
Fix potential issue of double-queueing for console...
blob
|
commitdiff
|
raw
|
diff to current
2017-06-11
Davin McCall
Service logic simplification/cleanup.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-09
Davin McCall
service: only force stop dependents if necessary.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-08
Davin McCall
Enable SIGQUIT in child processes.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-06
Davin McCall
Allow service start to be interrupted when waiting...
blob
|
commitdiff
|
raw
|
diff to current
2017-06-06
Davin McCall
Make service restart delay configurable (restart-delay...
blob
|
commitdiff
|
raw
|
diff to current
2017-06-06
Davin McCall
Add restart-limit-count service setting.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-05
Davin McCall
Make restart check interval configurable.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-05
Davin McCall
Limit number of restarts within an interval
blob
|
commitdiff
|
raw
|
diff to current
2017-06-03
Davin McCall
Fix: grant console correctly
blob
|
commitdiff
|
raw
|
diff to current
2017-06-02
Davin McCall
Separate "runs-on-console" into runs-on- and starts...
blob
|
commitdiff
|
raw
|
diff to current
2017-06-02
Davin McCall
Use restart timer also for non-smooth-recovery restarts.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-02
Davin McCall
Correct calculation of restart timeout, and up timeout...
blob
|
commitdiff
|
raw
|
diff to current
2017-06-01
Davin McCall
Minor refactoring / code documentation.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-01
Davin McCall
Add a restart timer to limit restart rate.
blob
|
commitdiff
|
raw
|
diff to current
2017-06-01
Davin McCall
Fix callback method name per Dasynq changes
blob
|
commitdiff
|
raw
|
diff to current
2017-05-30
Davin McCall
Clean up one TODO
blob
|
commitdiff
|
raw
|
diff to current
2017-05-30
Davin McCall
Simplify allDepStarted logic.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-30
Davin McCall
service record: move read_pid_file into bgproc_service
blob
|
commitdiff
|
raw
|
diff to current
2017-05-30
Davin McCall
service_record: declare handle_exit_status as pure...
blob
|
commitdiff
|
raw
|
diff to current
2017-05-29
Davin McCall
Refactoring: create base_process_service
blob
|
commitdiff
|
raw
|
diff to current
2017-05-29
Davin McCall
Avoid releasing console twice on failure to read pid...
blob
|
commitdiff
|
raw
|
diff to current
2017-05-29
Davin McCall
Break out scripted service as a separate class
blob
|
commitdiff
|
raw
|
diff to current
2017-05-23
Davin McCall
Refactoring.
blob
|
commitdiff
|
raw
|
diff to current
2017-05-23
Davin McCall
Minor cleanups.
blob
|
commitdiff
|
raw
|
diff to current
2017-04-26
Davin McCall
Provide and use fallbacks for POSIX functions extended...
blob
|
commitdiff
|
raw
|
diff to current
2017-03-29
Davin McCall
Rework acquire/release handling.
blob
|
commitdiff
|
raw
|
diff to current
2017-03-19
Davin McCall
Update Dasynq library, and API usage throughout.
blob
|
commitdiff
|
raw
|
diff to current
2017-03-19
Davin McCall
Release soft dependencies if they stop early.
blob
|
commitdiff
|
raw
|
diff to current
2017-03-12
Davin McCall
Update dasynq library, and make appropriate changes...
blob
|
commitdiff
|
raw
|
diff to current
2016-11-10
Davin McCall
Run not-on-console services in a session (via setsid()).
blob
|
commitdiff
|
raw
|
diff to current
2016-11-09
Davin McCall
Check for state STARTING before calling started() when...
blob
|
commitdiff
|
raw
|
diff to current
2016-11-09
Davin McCall
Combine start/stop queues, and add propagation queue.
blob
|
commitdiff
|
raw
|
diff to current
2016-11-08
Davin McCall
Check desired state == started before allowing service...
blob
|
commitdiff
|
raw
|
diff to current
2016-06-27
Davin McCall
Fix a TODO comment
blob
|
commitdiff
|
raw
|
diff to current
2016-06-26
Davin McCall
Add a "pass-cs-fd" service option, which passes a contr...
blob
|
commitdiff
|
raw
|
diff to current
2016-06-24
Davin McCall
Remove activated state if a service stops naturally
blob
|
commitdiff
|
raw
|
diff to current
2016-06-23
Davin McCall
Clean up signal and fd handling around fork().
blob
|
commitdiff
|
raw
|
diff to current
2016-06-23
Davin McCall
Ignore SIGTSTP (^Z) for run-on-console processes.
blob
|
commitdiff
|
raw
|
diff to current
2016-06-23
Davin McCall
Implement "list services" command in control protocol...
blob
|
commitdiff
|
raw
|
diff to current
2016-06-21
Davin McCall
Correct exit status checks (status 0 returned by wait...
blob
|
commitdiff
|
raw
|
diff to current
next