Svsh::Daemontools - daemontools support for svsh
This class provides support for daemontools to svsh - the supervisor shell.
daemontools uses /service as its default base directory. If a base directory is not provided to svsh, that is what will be used.
daemontools
/service
svsh
Refer to Svsh for complete explanation of these methods. Only changes from the base specifications are listed here.
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.
TERM
QUIT
kill
USR1, USR2, QUIT and WINCH are not supported by daemontools.
USR1
USR2
WINCH
Please report any bugs or feature requests to https://github.com/ido50/Svsh/issues.
Ido Perlmuter <ido@ido50.net>
Thanks to the guys at the supervision mailing list, especially Colin Booth, for helping out with suggestions and information.
Copyright (c) 2015-2023, Ido Perlmuter ido@ido50.net.
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.
To install Svsh, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Svsh
CPAN shell
perl -MCPAN -e shell install Svsh
For more information on module installation, please visit the detailed CPAN module installation guide.