edrcinit.handler
Package: WA2L/edrc 1.5.57
Section: Library Commands (3)
Updated: 10 November 2020
Index
Return to Main Contents
NAME
edrcinit.handler - handle start/stop/refresh/status of a service
SYNOPSIS
edrc/lib/edrcinit/PreFix.ApplicationName
AVAILABILITY
WA2L/edrc
DESCRIPTION
handler to start/stop/status/refresh services for an application
handled by the
edrcinit(1m)
command.
OPTIONS
- start
-
start the service.
- stop
-
stop the service.
- refresh
-
reload the service configuration
(if possible without service interruption).
- status
-
return
0
if the service is running (UP), return
1
if the service is not running (DOWN).
ENVIRONMENT
-
EXIT STATUS
- 0
-
handler could execute the related
action with success.
The status of the service is: UP.
- 1
-
handler executed the related
action with failure.
The status of the service is: DOWN.
FILES
- edrc/lib/edrcinit/
-
directory where all
edrcinit(1m)
handlers are saved.
EXAMPLES
See in directory
edrc/lib/edrcinit/
for example handler scripts.
SEE ALSO
edrcintro(1),
edrcinit(1m)
NOTES
-
BUGS
-
AUTHOR
edrcinit.handler was developed by Christian Walther. Send suggestions
and bug reports to wa2l@users.sourceforge.net .
COPYRIGHT
Copyright © 2020
by Christian Walther
This is free software; see
edrc/doc/COPYING
for copying conditions. There is ABSOLUTELY NO WARRANTY; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This document was created by man2html
using the manual pages.
Time: 16:52:50 GMT, August 28, 2024