{"id":20550236,"url":"https://github.com/dnmfarrell/ipc-pidfile","last_synced_at":"2025-10-10T17:04:51.645Z","repository":{"id":56836189,"uuid":"45053310","full_name":"dnmfarrell/IPC-Pidfile","owner":"dnmfarrell","description":null,"archived":false,"fork":false,"pushed_at":"2018-09-30T19:46:36.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T17:03:15.171Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dnmfarrell.png","metadata":{"files":{"readme":"README.pod","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-27T16:14:14.000Z","updated_at":"2020-07-18T16:30:01.000Z","dependencies_parsed_at":"2022-09-09T18:00:45.974Z","dependency_job_id":null,"html_url":"https://github.com/dnmfarrell/IPC-Pidfile","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dnmfarrell/IPC-Pidfile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FIPC-Pidfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FIPC-Pidfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FIPC-Pidfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FIPC-Pidfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dnmfarrell","download_url":"https://codeload.github.com/dnmfarrell/IPC-Pidfile/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FIPC-Pidfile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004814,"owners_count":26083783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T02:23:59.373Z","updated_at":"2025-10-10T17:04:51.622Z","avatar_url":"https://github.com/dnmfarrell.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"=pod\n\n=encoding UTF-8\n\n=head1 NAME\n\nIPC::Pidfile - run only one instance of a program at a time\n\n=head1 VERSION\n\nversion 0.02\n\n=head1 SYNOPSIS\n\nJust import the module:\n\n  #!/usr/bin/env perl\n  use IPC::Pidfile;\n\n  ... # program code here\n\nThis will create a pidfile for the program and clear it up when the program is\nfinished.\n\n=head1 DESCRIPTION\n\nC\u003cIPC::Pidfile\u003e is a module for use with Perl programs when you only want one\ninstance of the script to run at a time. It should work for you if:\n\n=over 4\n\n=item *\n\nYou are OK with the pidfile being created in the same directory as the\nscript\n\n=item *\n\nYou are not using an obscure OS. (Linux, BSD, OSX and Windows should be OK,\nsee CPANTESTERS).\n\n=item *\n\nYour program is not using signal handlers for C\u003cSIGINT\u003e and C\u003cSIGTERM\u003e.\nC\u003cIPC::Pidfile\u003e uses these to clear up the pidfile at the end of the process\n\n=back\n\n=head1 WARNING\n\nThis module has a race condition as it attempts to remove the pidfile. It\nmight be better to use C\u003cIPC::Lockfile\u003e.\n\n=head1 BUGS/ISSUES\n\nRace condition (see L\u003c#WARNING\u003e).\n\nThis is an early release and may contain bugs. To run C\u003cIPC::Pidfile\u003e in\ndebug mode, create the environment variable C\u003cIPC_PIDFILE_DEBUG\u003e:\n\n  IPC_PIDFILE_DEBUG=1 ./path/to/program\n\n=head1 AUTHOR\n\nDavid Farrell \u003cdfarrell@cpan.org\u003e\n\n=head1 COPYRIGHT AND LICENSE\n\nThis software is Copyright (c) 2015 by David Farrell.\n\nThis is free software, licensed under:\n\n  The (two-clause) FreeBSD License\n\n=cut\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnmfarrell%2Fipc-pidfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnmfarrell%2Fipc-pidfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnmfarrell%2Fipc-pidfile/lists"}