Python Daemon 프로세스로 만들기
ㅇ Daemon 모듈 #!/usr/bin/env python # # #http://homepage.hispeed.ch/py430/python/daemon.py import sys, os import logging from os.path import dirname, isdir, join, basename, exists f def daemonize(pid_filename=None): _basename = basename(pid_filename).split(".")[0] pid_file = join(PID_DIR, "%s.pid" % _basename) #if already started, quit quietly. if exists(pid_file): f = open(pid_file) pid = f.read(..