3 ms·
Well, the service difinition part of shepherd is pretty declarative: (make <service> #:provides '(blahblah) #:start (...) #:
by bjoli 8y ago
Well, the service difinition part of shepherd is pretty declarative:
(make <service>
#:provides '(blahblah)
#:start (...)
#:stop (...)))
The difference is that start/stop must be guile procedures that starts or stops a command. I suspect there is a nice macro for just running a regular shell command, but I'm not sure.
- stephenr 8y agoIt’s guile. They’re instances of the <service> class (apparently). That is specifically not declarative and the fact that the only example in the official documentation is essentially the same as your example, says this project is not ready for use by humans. If you (the project) cant show a full example service definition to start something why would anyone bother going forward.