Davin McCall
|
47e8a307f5
Refactor and simplify service load/reload
|
1 rok temu |
Davin McCall
|
de77cfd4ef
Use a placeholder services for "before" dependencies not yet loaded
|
1 rok temu |
Davin McCall
|
caa84dcca3
Rename DUMMY service type to PLACEHOLDER, add loading flag
|
1 rok temu |
Davin McCall
|
35275ac52d
Fix: cycles involving "before" dependencies not always detected
|
1 rok temu |
Davin McCall
|
dd32cff7c7
Do not allow changing the log-type of a running service
|
1 rok temu |
Daniel Kolesa
|
7aaa3d3dcf
Add support for export-service-name load option
|
1 rok temu |
Daniel Kolesa
|
c7b9e5ed61
Substitute env-file in service files at load
|
1 rok temu |
Davin McCall
|
c66a24450b
Implement output capture to buffer
|
1 rok temu |
Davin McCall
|
4f07b49c50
Don't propagate service exception from dependency directly
|
1 rok temu |
Davin McCall
|
b3e161953b
Implement externally triggered services
|
1 rok temu |
Davin McCall
|
dd1ec543f0
Clean up service-load exception hierarchy
|
1 rok temu |
Davin McCall
|
10a494fc3a
Move errno reset before readdir into process_dep_dir
|
2 lat temu |
Daniel Kolesa
|
b76b99c988
Clear errno after trying multiple service dirs
|
2 lat temu |
Davin McCall
|
5fc8ec35bf
Always re-attach dependency acquisitions if service states are amenable
|
2 lat temu |
Davin McCall
|
6260206d64
Support for "before" links
|
2 lat temu |
Davin McCall
|
987a350456
Prevent cyclic dependencies being created when reloading service
|
2 lat temu |
Davin McCall
|
36588b165f
Fix #74, command arg ptrs pointed into invalid string
|
2 lat temu |
Davin McCall
|
7331713319
Sub environment vars in 'stop-command' (as well as 'command') setting
|
2 lat temu |
Davin McCall
|
4617213148
Report line number for parse failures in service descriptions
|
2 lat temu |
Davin McCall
|
8d6ab2f98c
Initial support for cgroups
|
2 lat temu |
Davin McCall
|
2503b752ed
Allow specifying stop-command for bgprocess services
|
2 lat temu |
Davin McCall
|
9b3befd497
Implement stop-command support for normal process services
|
2 lat temu |
Davin McCall
|
ddbbbe0e97
Use the same variable substitution rules for cmd line as for paths
|
2 lat temu |
Davin McCall
|
3eb9eabb72
If service description exists but can't be opened, report suitable error
|
3 lat temu |
Davin McCall
|
9a71f6a82d
Add a bunch of lint checks in dinitcheck
|
3 lat temu |
Davin McCall
|
4b5ed5611e
Make capitalisation of error messages more consistent
|
3 lat temu |
Davin McCall
|
798a983475
Settings finalisation: parameterise error report method
|
3 lat temu |
Davin McCall
|
393ea71ce0
Check service parameters as part of finalising settings
|
3 lat temu |
Davin McCall
|
f1a680516a
Error if bgprocess service doesn't specify pid-file
|
3 lat temu |
Davin McCall
|
9cf877b278
Fix setting group when only uid specified
|
4 lat temu |