Ideally, I would love an example service, that just starts a program. There is no configuration.
It just looks like:
(service some-service)
However, most services in guix, have a configuration field or configuration file.
There is some documentation in the guix manual about this.
I can use "-vs". This is a TODO feature for later. I'm not too interested in setting up logging.
Currently I can try to run endlessh as "endlessh", but it does NOT run properly.
It seems to be pretty doing this. This blog post talks more about it:
http://guix.gnu.org/en/blog/2017/running-system-services-in-containers/
http://issues.guix.gnu.org/39136
Add documentation to it.
## If you want Endlessh to bind on ports < 1024 ## 1) run: ## setcap 'cap_net_bind_service=+ep' /usr/local/bin/endlessh ## 2) uncomment following line #AmbientCapabilities=CAP_NET_BIND_SERVICE ## 3) comment following line PrivateUsers=true