projects
/
oweals
/
dinit.git
/ history
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
first ⋅ prev ⋅
next
Implement "skippable" option for scripted services.
[oweals/dinit.git]
/
src
/
service.cc
2018-06-14
Davin McCall
Implement "skippable" option for scripted services.
blob
|
commitdiff
|
raw
2018-06-07
Davin McCall
Avoid logging service stop after failure to start.
blob
|
commitdiff
|
raw
|
diff to current
2018-06-07
Davin McCall
Fix acquire/release counting in some sitations.
blob
|
commitdiff
|
raw
|
diff to current
2018-03-20
Davin McCall
Fix issue with incorrect acquisition counts with waits_...
blob
|
commitdiff
|
raw
|
diff to current
2018-03-19
Davin McCall
service stopped(): release console if have_console...
blob
|
commitdiff
|
raw
|
diff to current
2018-03-19
Davin McCall
Handle startup timer expiry using failed_to_start.
blob
|
commitdiff
|
raw
|
diff to current
2018-03-19
Davin McCall
Make sure listeners are notified of start cancellation.
blob
|
commitdiff
|
raw
|
diff to current
2018-03-19
Davin McCall
When stopping dependents, also release waits_for/soft...
blob
|
commitdiff
|
raw
|
diff to current
2018-02-28
Davin McCall
Fix: stop milestone dependency before started.
blob
|
commitdiff
|
raw
|
diff to current
2018-02-20
Davin McCall
Add another test and a fix to make it pass.
blob
|
commitdiff
|
raw
|
diff to current
2018-02-20
Davin McCall
Move processing of start pin in do_stop.
blob
|
commitdiff
|
raw
|
diff to current
2018-02-19
Davin McCall
Add comment.
blob
|
commitdiff
|
raw
|
diff to current
2018-02-19
Davin McCall
Add a new test.
blob
|
commitdiff
|
raw
|
diff to current
2018-02-16
Davin McCall
Don't bypass queue cycle in emergency_stop.
blob
|
commitdiff
|
raw
|
diff to current
2018-02-13
Davin McCall
Mock tcsetpgrp() and getpgrp() for tests.
blob
|
commitdiff
|
raw
|
diff to current
2018-01-19
Davin McCall
Move some #include's around to fix build issue.
blob
|
commitdiff
|
raw
|
diff to current
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
next