sysutils/stalepid 1.0.2_1
Check for stale pid files and remove them
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE
- Categories
- sysutils
- Package size
- 5.4 KiB, 6.9 KiB installed
Description
The stalepid utility was developed to facilitate the startup of servers that write their process ID to a file and refuse to start if that file exists (e.g. when the process was last terminated by an unclean shutdown, or simply killed without given the chance to clean up the process ID file). The stalepid utility is used to check for and possibly remove those stale process ID files. Upon its invocation, stalepid checks for the following conditions:
- the file specified by the pidfile argument exists;
- it contains a single line, and the line contains a single number;
- there is no process with the process ID specified in the file, or if there is one, it is not named processname.
If all those conditions are met, the stalepid utility will remove the file specified by the pidfile argument, thus allowing the next invocation of the server to proceed normally.
Install
As a binary package — by origin, or by package name:
pkg install sysutils/stalepid
pkg install stalepid
From the ports tree:
cd /usr/ports/sysutils/stalepid/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= stalepid>0:sysutils/stalepid
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.0.2_1 | 1.0.2_1 | 1.0.2 | 1.0.2_1 | 1.0.2_1 |
| FreeBSD:14:quarterly | 1.0.2_1 | 1.0.2_1 | n/a | 1.0.2_1 | 1.0.2_1 |
| FreeBSD:15:latest | 1.0.2_1 | 1.0.2_1 | n/a | 1.0.2_1 | 1.0.2_1 |
| FreeBSD:15:quarterly | 1.0.2_1 | 1.0.2_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0.2_1 | 1.0.2_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
p5-Error>=0: lang/p5-Error
The full lists below include those, and their dependencies in turn.
All run dependencies 2
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5 shebangfix uidfix
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| stalepid-1.0.2.tar.gz | 6059 | b5281e67d799973f73392eafbef62ec2571d801f9c16e16fc579c663407eea1c |
Master sites 1
- https://devel.ringlet.net/files/sys/stalepid/
Commit history 0
No commits in the history this site was built from.