Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
6
66
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eric Vidal
66
Commits
cd0d27c9
Commit
cd0d27c9
authored
1 year ago
by
Eric Vidal
Browse files
Options
Downloads
Patches
Plain Diff
typo fix
parent
f71168a2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/66.md
+1
-1
1 addition, 1 deletion
doc/66.md
src/lib66/exec/ssexec_help.c
+5
-5
5 additions, 5 deletions
src/lib66/exec/ssexec_help.c
src/lib66/exec/ssexec_signal.c
+2
-2
2 additions, 2 deletions
src/lib66/exec/ssexec_signal.c
with
8 additions
and
8 deletions
doc/66.md
+
1
−
1
View file @
cd0d27c9
...
...
@@ -39,7 +39,7 @@ These options are available all commands except the `-t` options. In such cases,
-
**-T**
*timeout*
: specifies a general timeout (in milliseconds) passed to command. By default the timeout is set to 0 (infinite).
-
**-t**
*tree*
:
u
se
*tree*
as tree to use.
-
**-t**
*tree*
: se
t
*tree*
as tree to use.
## Commands
...
...
This diff is collapsed.
Click to expand it.
src/lib66/exec/ssexec_help.c
+
5
−
5
View file @
cd0d27c9
...
...
@@ -26,7 +26,7 @@ inline void info_help (char const *help,char const *usage)
char
const
*
usage_66
=
"66 [ -h ] [ -z ] [ -v verbosity ] [ -l live ] [ -T timeout ] [ -t tree ] start|stop|reload|restart|free|reconfigure|enable|disable|configure|status|resolve|state|remove|signal|tree|parse|scandir|boot|poweroff|reboot|halt|version [<command options> or <subcommand options> ] service...|tree"
;
char
const
*
help_66
=
"
\n
main tool
to init a system, control and manage services
\n
"
"
\n
program
to init a system, control and manage services
\n
"
"
\n
"
"options:
\n
"
" -h: print this help
\n
"
...
...
@@ -34,7 +34,7 @@ char const *help_66 =
" -v verbosity: increase/decrease verbosity of the command
\n
"
" -l live: changes live directory
\n
"
" -T timeout: general timeout (in milliseconds) passed to command
\n
"
" -t tree:
u
se tree as tree to use
\n
"
" -t tree: se
t
tree as tree to use
\n
"
"
\n
"
"command:
\n
"
" start: bring up service
\n
"
...
...
@@ -148,7 +148,7 @@ char const *help_parse =
char
const
*
usage_reconfigure
=
"66 reconfigure [ -h ] [ -P ] service..."
;
char
const
*
help_reconfigure
=
"
\n
convenient
tool
to bring down, unsupervise, parse again and bring up services in one pass
\n
"
"
\n
convenient
command
to bring down, unsupervise, parse again and bring up services in one pass
\n
"
"
\n
"
"options:
\n
"
" -h: print this help
\n
"
...
...
@@ -158,7 +158,7 @@ char const *help_reconfigure =
char
const
*
usage_reload
=
"66 reload [ -h ] [ -P ] service..."
;
char
const
*
help_reload
=
"
\n
convenient
tool
to send a SIGHUP signal to services
\n
"
"
\n
convenient
command
to send a SIGHUP signal to services
\n
"
"
\n
"
"options:
\n
"
" -h: print this help
\n
"
...
...
@@ -168,7 +168,7 @@ char const *help_reload =
char
const
*
usage_restart
=
"66 restart [ -h ] [ -P ] service..."
;
char
const
*
help_restart
=
"
\n
convenient
tool
to bring down then bring up services in one pass
\n
"
"
\n
convenient
command
to bring down then bring up services in one pass
\n
"
"
\n
"
"options:
\n
"
" -h: print this help
\n
"
...
...
This diff is collapsed.
Click to expand it.
src/lib66/exec/ssexec_signal.c
+
2
−
2
View file @
cd0d27c9
...
...
@@ -73,11 +73,11 @@ int ssexec_signal(int argc, char const *const *argv, ssexec_t *info)
* STATE_FLAGS_TOPROPAGATE = 1
* send signal to the depends/requiredby of the service
*
* When we come from 66 start/stop
tool
we always want to
* When we come from 66 start/stop
command
we always want to
* propagate the signal. But we may need/want to send a e.g. SIGHUP signal
* to a specific service without interfering on its depends/requiredby services
*
* Also, we only deal with already supervised service. This
tool
is the signal sender,
* Also, we only deal with already supervised service. This
command
is the signal sender,
* it not intended to sanitize the state of the services.
*
* */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment