unix/fiss

renaming man-src -> src/man (0fbefb3c2870b90641c58ab6c5fbf8141c382da4)
Repositories | LICENSE

commit 0fbefb3c2870b90641c58ab6c5fbf8141c382da4
parent fbd7b0e8bd4789d052b137d0b47fabab87f962ff
Author: Friedel Schön <[email protected]>
Date:   Mon,  8 May 2023 20:34:32 +0200

renaming man-src -> src/man

Diffstat:
MMakefile4++--
Dman-src/fsvc.8.md102-------------------------------------------------------------------------------
Mman/fsvc.812++++++------
Rman-src/finit.8.md -> src/man/finit.8.md0
Asrc/man/fsvc.8.md102+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Rman-src/halt.8.md -> src/man/halt.8.md0
Rman-src/modules-load.8.roff -> src/man/modules-load.8.roff0
Rman-src/shutdown.8.roff -> src/man/shutdown.8.roff0
Rman-src/vlogger.8.roff -> src/man/vlogger.8.roff0
Rman-src/zzz.8.md -> src/man/zzz.8.md0
10 files changed, 110 insertions(+), 110 deletions(-)

diff --git a/Makefile b/Makefile @@ -5,8 +5,8 @@ INCLUDE_DIR := include BIN_DIR := bin EXEC_DIR := $(SRC_DIR)/exec SCRIPT_DIR := $(SRC_DIR)/script -MAN_DIR := man -ROFF_DIR := usr/share/man +MAN_DIR := src/man +ROFF_DIR := man # Compiler Options CC := gcc diff --git a/man-src/fsvc.8.md b/man-src/fsvc.8.md @@ -1,102 +0,0 @@ -# fsvc 1 "MAY 2023" "01.0" "fiss man page" - -## NAME - -fsvc - fiss' service controller - -## SYNOPSIS - -`fsvc` `start` \[_options_] \[`--pin_`] \<service> - -`fsvc` `stop` \[_options_] \[`--pin`] \<service> - -`fsvc` `enable` \[_options_] \[`--once`] \<service> - -`fsvc` `disable` \[_options_] \[`--once`] \<service> - -`fsvc` kill \[_options_] \<service> \<signal|signo> - -`fsvc` status \[_options_] \[`--check`] \[\<service>] - -`fsvc` pause \[_options_] \<service> - -`fsvc` resume \[_options_] \<service> - -`fsvc` switch \[_options_] \[`--reset`] \<runlevel> - -## DESCRIPTION - -`fsvc` is a command line tool for controlling services on a FISS system. It provides various commands for starting, stopping, enabling, disabling, sending signals to, checking the status of, pausing, resuming, and switching the runlevel of services. - -## OPTIONS - -The following options are available for every command: - -`-q, --short` -Will print brief information about the service. - -`-r, --runlevel <runlevel>` -Will use \fBrunlevel\fB instead of _default_. - -`-s, --service-dir <path>` -Will use `path` as service directory instead of _/etc/fiss/service.d_. - -`-v, --verbose` -Prints verbose information. - -`-V, --version` -Prints the version and exits. - -The following options are available per command: - -`-p, --pin` -Pins the state. If issued with `start` it will cause the service to restart. -If issued with `stop` it will cause the service to be hold down. - -`-o, --once` -Specifies that the service should only be enabled/disabled once and not automatically started/stopped on subsequent bootups. - -`-c, --check` -Command will return _0_ if the specified service is active otherwise _1_ - -`-r, --reset` -Specifies that the switch command should reset all running services (if manually set to up/down) - -## COMMANDS - -The following commands are available: - -`start` -Starts the specified service. A synonym is `up`. - -`stop` -Stops the specified service. A synonym is `down`. - -`enable` -Enables the specified service, causing it to automatically start on subsequent bootups. - -`disable` -Disables the specified service, causing it to not start automatically on subsequent bootups. - -`kill` -Sends the specified signal or signal number to the specified service. A synonym is `send`. - -`status` -Displays the status of the specified service. If no service is specified, displays the status of all services. - -`pause` -Pauses the specified service. - -`resume` -Resumes the specified service. - -`switch` -Switches the runlevel to the specified value. - -## SEE ALSO - -finit(1), fsvc(8), fsvs(8), halt(8), modules-load(8), shutdown(8), - -## AUTHOR - -Friedel Schön \<[email protected]> diff --git a/man/fsvc.8 b/man/fsvc.8 @@ -12,15 +12,15 @@ fsvc \- fiss' service controller .PP \fB\fCfsvc\fR \fB\fCdisable\fR [\fIoptions\fP] [\fB\fC\-\-once\fR] <service> .PP -\fB\fCfsvc\fR kill [\fIoptions\fP] <service> <signal|signo> +\fB\fCfsvc\fR \fB\fCkill\fR [\fIoptions\fP] <service> <signal|signo> .PP -\fB\fCfsvc\fR status [\fIoptions\fP] [\fB\fC\-\-check\fR] [<service>] +\fB\fCfsvc\fR \fB\fCstatus\fR [\fIoptions\fP] [\fB\fC\-\-check\fR] [<service>] .PP -\fB\fCfsvc\fR pause [\fIoptions\fP] <service> +\fB\fCfsvc\fR \fB\fCpause\fR [\fIoptions\fP] <service> .PP -\fB\fCfsvc\fR resume [\fIoptions\fP] <service> +\fB\fCfsvc\fR \fB\fCresume\fR [\fIoptions\fP] <service> .PP -\fB\fCfsvc\fR switch [\fIoptions\fP] [\fB\fC\-\-reset\fR] <runlevel> +\fB\fCfsvc\fR \fB\fCswitch\fR [\fIoptions\fP] [\fB\fC\-\-reset\fR] <runlevel> .SH DESCRIPTION .PP \fB\fCfsvc\fR is a command line tool for controlling services on a FISS system. It provides various commands for starting, stopping, enabling, disabling, sending signals to, checking the status of, pausing, resuming, and switching the runlevel of services. @@ -94,7 +94,7 @@ Switches the runlevel to the specified value. .BR fsvs (8), .BR halt (8), .BR modules-load (8), -.BR shutdown (8), +.BR shutdown (8), .SH AUTHOR .PP Friedel Schön <\[la][email protected]\[ra]> diff --git a/man-src/finit.8.md b/src/man/finit.8.md diff --git a/src/man/fsvc.8.md b/src/man/fsvc.8.md @@ -0,0 +1,102 @@ +# fsvc 1 "MAY 2023" "01.0" "fiss man page" + +## NAME + +fsvc - fiss' service controller + +## SYNOPSIS + +`fsvc` `start` \[_options_] \[`--pin_`] \<service> + +`fsvc` `stop` \[_options_] \[`--pin`] \<service> + +`fsvc` `enable` \[_options_] \[`--once`] \<service> + +`fsvc` `disable` \[_options_] \[`--once`] \<service> + +`fsvc` `kill` \[_options_] \<service> \<signal|signo> + +`fsvc` `status` \[_options_] \[`--check`] \[\<service>] + +`fsvc` `pause` \[_options_] \<service> + +`fsvc` `resume` \[_options_] \<service> + +`fsvc` `switch` \[_options_] \[`--reset`] \<runlevel> + +## DESCRIPTION + +`fsvc` is a command line tool for controlling services on a FISS system. It provides various commands for starting, stopping, enabling, disabling, sending signals to, checking the status of, pausing, resuming, and switching the runlevel of services. + +## OPTIONS + +The following options are available for every command: + +`-q, --short` +Will print brief information about the service. + +`-r, --runlevel <runlevel>` +Will use \fBrunlevel\fB instead of _default_. + +`-s, --service-dir <path>` +Will use `path` as service directory instead of _/etc/fiss/service.d_. + +`-v, --verbose` +Prints verbose information. + +`-V, --version` +Prints the version and exits. + +The following options are available per command: + +`-p, --pin` +Pins the state. If issued with `start` it will cause the service to restart. +If issued with `stop` it will cause the service to be hold down. + +`-o, --once` +Specifies that the service should only be enabled/disabled once and not automatically started/stopped on subsequent bootups. + +`-c, --check` +Command will return _0_ if the specified service is active otherwise _1_ + +`-r, --reset` +Specifies that the switch command should reset all running services (if manually set to up/down) + +## COMMANDS + +The following commands are available: + +`start` +Starts the specified service. A synonym is `up`. + +`stop` +Stops the specified service. A synonym is `down`. + +`enable` +Enables the specified service, causing it to automatically start on subsequent bootups. + +`disable` +Disables the specified service, causing it to not start automatically on subsequent bootups. + +`kill` +Sends the specified signal or signal number to the specified service. A synonym is `send`. + +`status` +Displays the status of the specified service. If no service is specified, displays the status of all services. + +`pause` +Pauses the specified service. + +`resume` +Resumes the specified service. + +`switch` +Switches the runlevel to the specified value. + +## SEE ALSO + +finit(1), fsvc(8), fsvs(8), halt(8), modules-load(8), shutdown(8), + +## AUTHOR + +Friedel Schön \<[email protected]> diff --git a/man-src/halt.8.md b/src/man/halt.8.md diff --git a/man-src/modules-load.8.roff b/src/man/modules-load.8.roff diff --git a/man-src/shutdown.8.roff b/src/man/shutdown.8.roff diff --git a/man-src/vlogger.8.roff b/src/man/vlogger.8.roff diff --git a/man-src/zzz.8.md b/src/man/zzz.8.md