|
@@ -31,8 +31,8 @@ See \fBRUNNING AS SYSTEM MANAGER / PRIMARY INIT\fR.
|
|
|
.LP
|
|
|
Dinit reads service descriptions from files located in a service
|
|
|
description directory, normally one of \fI/etc/dinit.d\fR, \fI/run/dinit.d\fR,
|
|
|
-\fI/usr/local/lib/dinit.d\fR or \fI/lib/dinit.d\fR for the system instance
|
|
|
-or just \fI$HOME/.config/dinit.d\fR when run as a user process.
|
|
|
+\fI/usr/local/lib/dinit.d\fR and \fI/lib/dinit.d\fR for the system instance
|
|
|
+or \fI$XDG_CONFIG_HOME/dinit.d\fR and \fI$HOME/.config/dinit.d\fR when run as a user process.
|
|
|
See \fBSERVICE DESCRIPTION FILES\fR for details of the service description format.
|
|
|
.\"
|
|
|
.SH OPTIONS
|
|
@@ -42,9 +42,9 @@ Specifies \fIdir\fP as the directory containing service definition files.
|
|
|
This can be specified multiple times for multiple service directories.
|
|
|
The default directories are not searched for services when this option is provided.
|
|
|
.sp
|
|
|
-If not specified, the default is \fI$HOME/.config/dinit.d\fR or, for the
|
|
|
-system service manager, each of \fI/etc/dinit.d\fR, \fI/run/dinit.d/\fR,
|
|
|
-\fI/usr/local/lib/dinit.d\fR, and \fI/lib/dinit.d\fR (searched in that order).
|
|
|
+If not specified, the default for the user instance is \fI$XDG_CONFIG_HOME/dinit.d\fR
|
|
|
+and \fI$HOME/.config/dinit.d\fR or, for the system instance, each of \fI/etc/dinit.d\fR,
|
|
|
+\fI/run/dinit.d/\fR, \fI/usr/local/lib/dinit.d\fR, and \fI/lib/dinit.d\fR (searched in that order).
|
|
|
.TP
|
|
|
\fB\-e\fR \fIfile\fP, \fB\-\-env\-file\fR \fIfile\fP
|
|
|
Read initial environment from \fIfile\fP.
|
|
@@ -142,8 +142,8 @@ Use a level of \fBnone\fR to suppress all messages.
|
|
|
.\"
|
|
|
Service description files specify the parameters of each service.
|
|
|
They are named for the service they describe, and are found in one of several directories
|
|
|
-(including \fI/etc/dinit.d\fR) for a system instance or \fI$HOME/.config/dinit.d\fR for a user instance
|
|
|
-(see also \fB\-\-services\-dir\fR option).
|
|
|
+(including \fI/etc/dinit.d\fR) for a system instance or \fI$XDG_CONFIG_HOME/dinit.d\fR and
|
|
|
+\fI$HOME/.config/dinit.d\fR for a user instance (see also \fB\-\-services\-dir\fR option).
|
|
|
.LP
|
|
|
Service description files are read by Dinit on an "as needed" basis.
|
|
|
Once loaded, a service description is never automatically unloaded (even if the service
|
|
@@ -278,8 +278,8 @@ value set previously as well as the effect of previous \fB!unset\fR and \fB!clea
|
|
|
\fI/etc/dinit.d\fR, \fI/run/dinit.d\fR, \fI/usr/local/lib/dinit.d\fR, \fI/lib/dinit.d\fR
|
|
|
Default locations for service description files. The directories are searched in the order listed.
|
|
|
.TP
|
|
|
-\fI$HOME/.config/dinit.d\fR
|
|
|
-Default location for service description files for user instances.
|
|
|
+\fI$XDG_CONFIG_HOME/dinit.d\fR, \fI$HOME/.config/dinit.d\fR
|
|
|
+Default location for service description files for user instances. The directories are searched in the order listed.
|
|
|
.\"
|
|
|
.SH SIGNALS
|
|
|
.LP
|