On Sat, 22 Nov 2014, Ludovic Courtès wrote:
Adam Pribyl <[email protected]> skribis:
Could you post your configuration?
I have something like this:
--8<---------------cut here---------------start------------->8---
(services (cons* (slim-service)
(avahi-service)
(dbus-service (list avahi))
;; [...]
(lsh-service #:root-login? #t)
(dhcp-client-service)
%base-services))
--8<---------------cut here---------------end--------------->8---
and ‘deco status networking’ shows the actual service.
Great, this is it! I had
(services (cons (dhcp-client-service)
%base-services))
(services (cons (lsh-service #:port-number 22 #:root-login? #t)
%base-services))
I understand now it was a nonsence. Using cons* and defining both under
single service section works now.
Just for the lsh - by default it expects a key under /etc/lsh_host_key,
while this service definition changes it to /etc/ls/host-key.
Thanks,
Ludo’.
Thanks a lot
Adam Pribyl