Skip to main content

Make daemon for your program

Project description

NAME

x100daemon - Make daemon for your program

SYNOPSIS

from x100daemon import Daemon

pidfile = '/var/pid/hello.pid'
d = Daemon(pidfile)
d.daemonize()

#your program district

DESCRIPTION

x100daemon make daemon for your program

METHODS

pidfile

Assgin your pidfile path

daemonize

make daemon

SUPPORTED PYTHON VERSIONS

daemonize only supports python 3.3 or newer.

EXAMPLES

example

from x100daemon import Daemon

pidfile = '/var/pid/hello.pid'
d = Daemon(pidfile)
d.daemonize()

#your program district

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

x100daemon-0.1.1.tar.gz (1.8 kB view details)

Uploaded Source

File details

Details for the file x100daemon-0.1.1.tar.gz.

File metadata

  • Download URL: x100daemon-0.1.1.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for x100daemon-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0ccdbf85819c238956651cfb88c34555dd5e5d72ba37e4caa6dc34c8831991be
MD5 9270989ac9ca06fb4ebf85bd3eea3b9c
BLAKE2b-256 ebc45fb2fdfa23abbcfb0a08fd765dccb1f9fa73c6d8f40782a6ab9198ba1195

See more details on using hashes here.

Supported by

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