Comments (2)
Well, depends-on
can be specified multiple times for multiple dependencies. (The same is true for waits-for
; waits-for.d
was just meant as a convenience for packaging, i.e. it allows a package to include itself as a soft dependency of another service just by including a symbolic link). So, I don't think there is a major problem here. I wouldn't be against adding a depends-on.d
option however, and it would be trivial to implement, I think.
As for templating of services, this feels like it is probably outside the scope of Dinit. You could use any templating engine (even just a shell script wrapping m4
for example) to generate service description files from templates, and then run Dinit with the result.
from dinit.
Ok, thanks for feedback, I have to do some experimenting to see how it may work in my application.
from dinit.
Related Issues (20)
- Leave github HOT 1
- Improve service type documentation HOT 14
- Configure script does not add compiler flags (inc. optimisation) to LDFLAGS when using LTO HOT 2
- `env-file` doesn't work on dinit 0.17.0 HOT 2
- Replace use of iostream-based classes HOT 42
- loading service env-files relatively to the service file HOT 2
- add a mechanism for reasonably diagnosing early boot issues HOT 6
- have a standard set of core services for distros to use HOT 5
- Ability to have separate log files for STDOUT and STDERR HOT 1
- "restarting too quickly; stopping." with a dependency of enabled service doesn't do anything HOT 2
- how to use ready-notification funciton? HOT 1
- handling of graphical user services and ordering HOT 7
- a way to control dinit programmatically HOT 20
- Make it possible for variables in env-file to be kept empty HOT 7
- closehandle does not enable service to be unloaded HOT 2
- macOS / Darwin build needs different `SBINDIR` and `MANDIR` HOT 4
- restart only when exit unexpected HOT 8
- dinit on Android! HOT 1
- support for "before milestones" HOT 2
- configure: `-fsanitize=address,undefined` flag test is incorrectly not marked as optional!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dinit.