guix-commits
[Top][All Lists]
Advanced

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

[shepherd] 03/05: doc: Clarify the execution environment for the ‘timer’


From: Ludovic Courtès
Subject: [shepherd] 03/05: doc: Clarify the execution environment for the ‘timer’ service.
Date: Fri, 22 Nov 2024 09:35:13 -0500 (EST)

civodul pushed a commit to branch main
in repository shepherd.

commit d5cf85f42670883ef19094c23d1c10aeed53cdc0
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Nov 22 10:54:34 2024 +0100

    doc: Clarify the execution environment for the ‘timer’ service.
    
    * doc/shepherd.texi (Timers): For the ‘timer’ service, clarify the
    execution environment.
---
 doc/shepherd.texi | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/doc/shepherd.texi b/doc/shepherd.texi
index 5cb703b..503129d 100644
--- a/doc/shepherd.texi
+++ b/doc/shepherd.texi
@@ -1535,7 +1535,11 @@ herd schedule timer at 07:00 as charlie -- \
 Each of these @command{herd schedule timer} commands creates a new timed
 service, which, like any other service, can be inspected and stopped;
 those services are transient and vanish after they have executed their
-command (@pxref{Defining Services}).
+command (@pxref{Defining Services}).  The command runs from the
+directory specified by @code{default-service-directory} and with the
+environment variables in @code{default-environment-variables}, augmented
+with @env{HOME} when running as a different user (the @code{as} keyword
+in the example above).
 
 This @code{timer} service can be added to your configuration like so:
 



reply via email to

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