Skip to content

Commit

Permalink
added option --root
Browse files Browse the repository at this point in the history
  • Loading branch information
odubaj committed Apr 9, 2021
1 parent bfccf26 commit 4cfdca5
Show file tree
Hide file tree
Showing 6 changed files with 216 additions and 112 deletions.
17 changes: 11 additions & 6 deletions chkconfig.8
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
chkconfig \- updates and queries runlevel information for system services

.SH SYNOPSIS
\fBchkconfig\fR [\fB--list\fR] [\fB--type\fR \fItype\fR] [\fIname\fR]
\fBchkconfig\fR [\fB--root\fR \fIpath\fR] [\fB--list\fR] [\fB--type\fR \fItype\fR] [\fIname\fR]
.br
\fBchkconfig\fR \fB--add\fR \fIname\fR
\fBchkconfig\fR [\fB--root\fR \fIpath\fR] \fB--add\fR \fIname\fR
.br
\fBchkconfig\fR \fB--del\fR \fIname\fR
\fBchkconfig\fR [\fB--root\fR \fIpath\fR] \fB--del\fR \fIname\fR
.br
\fBchkconfig\fR \fB--override\fR \fIname\fR
\fBchkconfig\fR [\fB--root\fR \fIpath\fR] \fB--override\fR \fIname\fR
.br
\fBchkconfig\fR [\fB--level\fR \fIlevels\fR] [\fB--type\fR \fItype\fR] [\fB--no-redirect\fR] \fIname\fR <\fBon\fR|\fBoff\fR|\fBreset\fR|\fBresetpriorities\fR>
\fBchkconfig\fR [\fB--level\fR \fIlevels\fR] [\fB--root\fR \fIpath\fR] [\fB--type\fR \fItype\fR] [\fB--no-redirect\fR] \fIname\fR <\fBon\fR|\fBoff\fR|\fBreset\fR|\fBresetpriorities\fR>
.br
\fBchkconfig\fR [\fB--level\fR \fIlevels\fR] [\fB--type\fR \fItype\fR] [\fB--no-redirect\fR] \fIname\fR
\fBchkconfig\fR [\fB--level\fR \fIlevels\fR] [\fB--root\fR \fIpath\fR] [\fB--type\fR \fItype\fR] [\fB--no-redirect\fR] \fIname\fR
.br

.SH DESCRIPTION
Expand Down Expand Up @@ -80,6 +80,11 @@ Specifies the run levels an operation should pertain to. It is given as
a string of numbers from 0 to 6. For example, \fB--level 35\fR specifies
runlevels 3 and 5.

.TP
\fB-\-root \fIpath\fR
When used with on/off, use alternative root path when looking for unit
files same as by \fBsystemctl\fR.

.TP
\fB-\-no-redirect\fR
When chkconfig is run on a system that uses systemd as its init system,
Expand Down
Loading

0 comments on commit 4cfdca5

Please sign in to comment.