Re: Debugging Shepherd Daemon. Possible escape char issue.

2024-12-10 Thread Jesse Millwood
Actually I'm not sure what my issue was before but I have this working as the extra arguments:    (extra-arguments     '("--label"   "traefik.http.routers.whoami.rule=Host(`whoami.geekslab`)")) Didn't have to wrap the whole thing in escaped quotes and used backticks for the go lang string

Re: Debugging Shepherd Daemon. Possible escape char issue.

2024-12-10 Thread Jesse Millwood
For what it's worth I figured this out with help from giacomo of the gocix project. He has a really neat herd action where you can query the command line invocation that was used. That helped quite a bit to figure out what the issue was. Turns out for passing labels to the docker invocation you

Re: Debugging Shepherd Daemon. Possible escape char issue.

2024-11-29 Thread Jesse Millwood
Thanks Felix, I tried that just now and get the same exact error message when trying to start it. Fwiw, this is in my operating system guile file. I run "sudo guix system -L /modules system.scm", where I have my services defined in modules in the modules directory structure. Then I try to ru

Re: Debugging Shepherd Daemon. Possible escape char issue.

2024-11-29 Thread Felix Lechner via
Hi Jesse, On Fri, Nov 29 2024, Jesse Millwood wrote: > "traefik.http.routers.whoami.rule=Host\(\\\"whoami.geekslab\\\")" It's a bit of a long short, but I might try: > "traefik.http.routers.whoami.rule=Host(\"whoami.geekslab\")" I dropped the escape from the opening parenthesis \( which which