The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Svsh::Daemontools - daemontools support for svsh

DESCRIPTION

This class provides support for daemontools to svsh - the supervisor shell.

DEFAULT BASE DIRECTORY

daemontools uses /service as its default base directory. If a base directory is not provided to svsh, that is what will be used.

IMPLEMENTED METHODS

Refer to Svsh for complete explanation of these methods. Only changes from the base specifications are listed here.

status()

start( @services )

stop( @services )

restart( @services )

This is implemented by sending the TERM signal to the services, as opposed to the usual QUIT signal, since daemontools does not provide a way of sending the QUIT signal. Future versions might reimplement this with perl's kill function.

signal( $signal, @services )

USR1, USR2, QUIT and WINCH are not supported by daemontools.

fg( $service )

BUGS AND LIMITATIONS

Please report any bugs or feature requests to https://github.com/ido50/Svsh/issues.

AUTHOR

Ido Perlmuter <ido@ido50.net>

Thanks to the guys at the supervision mailing list, especially Colin Booth, for helping out with suggestions and information.

LICENSE AND COPYRIGHT

Copyright (c) 2015-2023, Ido Perlmuter ido@ido50.net.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.