Davin McCall
|
c66a24450b
Implement output capture to buffer
|
1 year ago |
Davin McCall
|
4f07b49c50
Don't propagate service exception from dependency directly
|
1 year ago |
Davin McCall
|
b3e161953b
Implement externally triggered services
|
2 years ago |
Davin McCall
|
dd1ec543f0
Clean up service-load exception hierarchy
|
2 years ago |
Davin McCall
|
10a494fc3a
Move errno reset before readdir into process_dep_dir
|
2 years ago |
Daniel Kolesa
|
b76b99c988
Clear errno after trying multiple service dirs
|
2 years ago |
Davin McCall
|
5fc8ec35bf
Always re-attach dependency acquisitions if service states are amenable
|
2 years ago |
Davin McCall
|
6260206d64
Support for "before" links
|
2 years ago |
Davin McCall
|
987a350456
Prevent cyclic dependencies being created when reloading service
|
2 years ago |
Davin McCall
|
36588b165f
Fix #74, command arg ptrs pointed into invalid string
|
2 years ago |
Davin McCall
|
7331713319
Sub environment vars in 'stop-command' (as well as 'command') setting
|
2 years ago |
Davin McCall
|
4617213148
Report line number for parse failures in service descriptions
|
2 years ago |
Davin McCall
|
8d6ab2f98c
Initial support for cgroups
|
2 years ago |
Davin McCall
|
2503b752ed
Allow specifying stop-command for bgprocess services
|
2 years ago |
Davin McCall
|
9b3befd497
Implement stop-command support for normal process services
|
2 years ago |
Davin McCall
|
ddbbbe0e97
Use the same variable substitution rules for cmd line as for paths
|
2 years ago |
Davin McCall
|
3eb9eabb72
If service description exists but can't be opened, report suitable error
|
4 years ago |
Davin McCall
|
9a71f6a82d
Add a bunch of lint checks in dinitcheck
|
4 years ago |
Davin McCall
|
4b5ed5611e
Make capitalisation of error messages more consistent
|
4 years ago |
Davin McCall
|
798a983475
Settings finalisation: parameterise error report method
|
4 years ago |
Davin McCall
|
393ea71ce0
Check service parameters as part of finalising settings
|
4 years ago |
Davin McCall
|
f1a680516a
Error if bgprocess service doesn't specify pid-file
|
4 years ago |
Davin McCall
|
9cf877b278
Fix setting group when only uid specified
|
4 years ago |
Davin McCall
|
c55450f04e
Fix issue when service fails to load
|
5 years ago |
Davin McCall
|
c557baa486
Refactoring: load new / reload existing service in single function
|
5 years ago |
Davin McCall
|
b869a0d50f
Implement additional checks for reload
|
5 years ago |
Davin McCall
|
3763898ab5
Initial implementation of service reloading
|
5 years ago |
Davin McCall
|
bec46b4d4a
Factor out service parameter processing
|
5 years ago |
Davin McCall
|
eb140b30fe
Service description loading: improve error messages
|
5 years ago |
Davin McCall
|
3fd6419ae4
Don't enable reporting exceptions on failbit (only to then disable).
|
5 years ago |