devel/p5-File-Pid-Quick 1.02_1
Associates a PID file with your script
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 9.8 KiB, 18.7 KiB installed
Description
This module associates a PID file with your script for the purpose of keeping more than one copy from running (concurrency prevention). It creates the PID file, checks for its existence when the script is run, terminates the script if there is already an instance running, and removes the PID file when the script finishes.
This module's objective is to provide a completely simplified interface that makes adding PID-file-based concurrency prevention to your script as quick and simple as possible; hence File::Pid::Quick. For a more nuanced implementation of PID files, please see File::Pid.
Install
As a binary package — by origin, or by package name:
pkg install devel/p5-File-Pid-Quick
pkg install p5-File-Pid-Quick
From the ports tree:
cd /usr/ports/devel/p5-File-Pid-Quick/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-File-Pid-Quick>0:devel/p5-File-Pid-Quick
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.02_1 | 1.02_1 | 1.02_1 | 1.02_1 | 1.02_1 |
| FreeBSD:14:quarterly | 1.02_1 | 1.02_1 | n/a | 1.02_1 | 1.02_1 |
| FreeBSD:15:latest | 1.02_1 | 1.02_1 | n/a | 1.02_1 | 1.02_1 |
| FreeBSD:15:quarterly | 1.02_1 | 1.02_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.02_1 | 1.02_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
All build dependencies 1
All run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/File/Pid/Quick.pm
- %%PERL5_MAN3%%/File::Pid::Quick.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| File-Pid-Quick-1.02.tar.gz | 4343 | e040c06c38513b86d85f08807904ca3c14625332a415d731f597eafa4407d8e0 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.