[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to print values inside shepherd service gexp

From: Vladilen Kozin
Subject: how to print values inside shepherd service gexp
Date: Fri, 24 Mar 2023 14:55:13 +0000

Hello. I probably have all phases screwed up in my head now.

                   #:directory (pk #$twgter-directory)
                   #:log-file (pk #$twgter-log-file))

If we instantiate this process in our OS declaration under services and then run that OS inside a container and `herd start this-service`, where would the above (pk ..) values show up? They aren't in /var/log/messages and they aren't in whatever #:log-file we specified. I imagine this gexp turns into a Guile script somewhere inside the store and Shepherd runs it when we start the service.

More generally, how to I print stuff inside gexps that are part of services.

Thank you

Best regards
Vlad Kozin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]