A Module to help you daemonize your program in Unix-like system
Project description
# A Simple Class to make your program daemonize in Unix-like system
Usage:
from daemonized import Daemonize
@Daemonize(**kwargs)
def my_func():
pass
my_func()
#kwargs are:
# pidfile=PATH
# stdin=PATH
# stdout=PATH
# stderr=PATH
#
#PATH MUST BE ABSOLUTE PATH
Usage:
from daemonized import Daemonize
@Daemonize(**kwargs)
def my_func():
pass
my_func()
#kwargs are:
# pidfile=PATH
# stdin=PATH
# stdout=PATH
# stderr=PATH
#
#PATH MUST BE ABSOLUTE PATH
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
daemonized-0.3.0.tar.gz
(1.5 kB
view details)
File details
Details for the file daemonized-0.3.0.tar.gz
.
File metadata
- Download URL: daemonized-0.3.0.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 780a449423a7551c12beab51ccc9713b1a9a8dba0b777d6dcc7d34cd9c52f1df |
|
MD5 | df5a79fcc71403093dcdc5b0413cb931 |
|
BLAKE2b-256 | 7e5a5efab12f02e69444b3a270cda67f193aee7f9ed6af5703960c40979bd358 |