Skip to main content

Library to enable your code run as a daemon process on Unix-like systems.

Project description

Description

daemonize is a library for writing system daemons in Python. It was forked from daemonize.sourceforge.net.

Installation

You can install it from Python Package Index (PyPI) using $ pip install daemonize

Usage

import time

import daemonize

pid = “/tmp/test.pid”

def main():

print “This is it! I will die in five seconds.” time.sleep(5)

daemonize.start(main, pid, debug=True)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

daemonize-1.1.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file daemonize-1.1.tar.gz.

File metadata

  • Download URL: daemonize-1.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for daemonize-1.1.tar.gz
Algorithm Hash digest
SHA256 68cc12485bf0cbda57a5b88e8beac2a7978a91eb69418798c69fd65d4d1d210a
MD5 b5c67e03c78873118a72841a8c879494
BLAKE2b-256 f869b1f7ec23a8cce36ff8cbda985f3d7b659a63e124cf74c27a0ef12cfa5fef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page