pidfile alternatives and similar packages
Based on the "System" category.
Alternatively, view pidfile alternatives based on common mentions on social networks and blogs.
-
taffybar
A gtk based status bar for tiling window managers such as XMonad -
nix-deploy
Deploy software or an entire NixOS system configuration to another NixOS system -
ghc-hotswap
Example code for how we swap compiled code within a running Haskell process. -
optparse-generic
Auto-generate a command-line parser for your datatype -
hapistrano
Deploy tool for Haskell applications, like Capistrano for Rails -
directory
Platform-independent library for basic file system operations -
typed-process
Alternative API for processes, featuring more type safety -
system-fileio
Contains the system-filepath and system-fileio packages -
language-puppet
A library to work with Puppet manifests, test them and eventually replace everything ruby. -
openssh-github-keys
Control SSH access to your servers via GitHub teams -
plugins
Dynamic linking and runtime evaluation of Haskell, and C, including dependency chasing and package resolution. -
ascii-progress
A simple Haskell progress bar for the console. Heavily borrows from TJ Holowaychuk's Node.JS project -
directory-contents
Recursively build a tree of directory contents, avoiding symlink cycles
Access the most powerful time series database as a service
Do you think we are missing an alternative of pidfile or a related project?
README
pidfile
Run an IO action protected by a pidfile.
withPidFile path act
creates a pidfile at the specified path
containing the Process ID of the current process. Then act
is run,
the pidfile is removed and the result of act
returned wrapped in a
Just
.
If the pidfile already exists, act
is not run, and Nothing
is returned.
Any other error while creating the pidfile results in an error.
If an exception is raised in act
, the pidfile is removed before
the exception is propagated.
The pidfile is created with O_CREAT
and O_EXCL
flags to ensure that
an already existing pidfile is never accidentally overwitten.