Allow setting working directory for services.
[oweals/dinit.git] / doc / manpages / dinit-service.5
index 72a6af43e177f0f3187d1d5ef2f3035382236569..3c64513581a461e80893aa66b3222dca572bc26f 100644 (file)
@@ -84,6 +84,10 @@ services.
 Specifies the command to stop the service. Applicable only to \fBscripted\fR
 services.
 .TP
+\fBworking-dir\fR = \fIdirectory\fR
+Specifies the working directory for this service. For a scripted service, this
+affects both the start command and the stop command.
+.TP
 \fBrun-as\fR = \fIuser-id\fR
 Specifies which user to run the process(es) for this service as. The group id
 for the process will also be set to the primary group of the specified user.