unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* herd service "conflicts / will not be respawned" issue ?
@ 2022-12-15 15:41 jordila
  0 siblings, 0 replies; 2+ messages in thread
From: jordila @ 2022-12-15 15:41 UTC (permalink / raw)
  To: help-guix

Hi guixers !

   I'm learning the guix (in general) and the herd  (in particular) sorcery... xDD .
Okey, i've setup Syncthing as a herd service, in my /etc/configuration.scm file . See below the relevant parts of the file :

;; Indicate which modules to import to access the variables
;; used in this configuration.
(use-modules (gnu) (nongnu packages linux))
(use-service-modules cups desktop networking ssh xorg syncthing)

(operating-system

 [ OMMITED .. there is MOREE STUFF HERE... ;-) ]

  ;; Below is the list of system services.  To search for available
  ;; services, run 'guix system search KEYWORD' in a terminal.
  (services
   (append (list
        
                 ;; To configure OpenSSH, pass an 'openssh-configuration'
        ;; record as a second argument to 'service' below.
        (service openssh-service-type)
                 (service xfce-desktop-service-type)
                 (set-xorg-configuration
                  (xorg-configuration (keyboard-layout keyboard-layout)))

              (service syncthing-service-type
                      (syncthing-configuration (user "fenix"))))



Okey, Syncthing is running fine (as i can see it doing his job ! )... What now is confusing to me is the following reporting :

fenix@rigel ~/latj_hugo$ sudo herd status syncthing-fenix
Status of syncthing-fenix:
  It is started.
  Running value is 376.
  It is enabled.
  Provides (syncthing-fenix).
  Requires (loopback).
  Conflicts with ().
  Will not be respawned.
fenix@rigel ~/latj_hugo$

What am i missing ?

Thanks, Thanks, Thanks

F

 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* herd service "conflicts / will not be respawned" issue ?
@ 2022-12-21  0:01 Nathan Dehnel
  0 siblings, 0 replies; 2+ messages in thread
From: Nathan Dehnel @ 2022-12-21  0:01 UTC (permalink / raw)
  To: jordila, help-guix

>Conflicts with ().
I believe this lists services that cannot run at the same time as this
service. There are no conflicts, so the list is empty.
>Will not be respawned.
I think this is controlled by (respawn? #t) in the service definition.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-21  0:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-15 15:41 herd service "conflicts / will not be respawned" issue ? jordila
  -- strict thread matches above, loose matches on Subject: below --
2022-12-21  0:01 Nathan Dehnel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).