SimpleDaemon v.1.0.1


SimpleDaemon is a fork of Shane Hathaway's script.ExampleWriting a daemon requires creating two files, a daemon file and a configuration file with the same simpledaemonimport loggingimport timeclass HelloDaemon(simpledaemon.Daemon): default_conf = '/etc/hellodaemon.conf' section = 'hello' def run(self): while True:'The daemon says hello') time.sleep(1)if __name__ == '__main__': HelloDaemon().main()hellodaemon.conf:[hello]uid =gid =pidfile = ./hellodaemon.pidlogfile = ./hellodaemon.logloglevel = infoHere are some key features of "SimpleDaemon":?’A· reads the command line?’A· reads a configuration file?’A· configures logging?’A· calls root-level setup code?’A· drops privileges?’A· calls user-level setup code?’A· detaches from the controlling terminal?’A· checks and writes a pidfile#md5=10ab1ebe102ed17ed452c119cd4c5a1a

SimpleDaemon is a fork of Shane Hathaway's ... Provides a simple daemon class to ease the process of forking a Python application on Unix systems ...

  • SimpleDaemon
  • 1.0.1
  • Don Spaulding
  • Linux
  • Freeware
  • 10 Kb
  • 163
  • Free

Review SimpleDaemon

  • captcha

Other software of Don Spaulding
  • Dairy Herder  v.1.0Dairy Herder is a web application that allows dairies to track lineage and production records for their cows. A main goal is to have a pedigree generated for any given animal with the click of a button.
    New Miscellaneous software
    • Metamill  v.8.1.1921Metamill is a professional UML modeling tool. Supports UML 2.4 standard. All 14 UML diagrams supported. Round-trip engineering for Python, ADA, Java, C, C++, C# and VB.Net. RTF and HTML document generation.
    • Help+Manual  v.7.3.2Help+Manual is a stand-alone authoring tool with an integrated WYSIWYG editor. Working with Help+Manual is as easy as writing text with a word processor. Try yourself and download Help+Manual! Writing help has never been easier.
    • Virtual COM Port Driver  v.9.0VSPD is capable of creating an unlimited number of virtual serial ports connected in pairs via a virtual null modem cable. The app makes it possible for various Windows applications to exchange serial data without the need to use physical COM ports.
    • Gantt Control VCL  v.3.0Gantt Control VCL 3.0 enables software developers to schedule tasks and events. Gantt Control is adaptable to different requirements and is applicable to most scenarios e.g: Project management, Scheduling and task management, Employee scheduling.
    • ObDict  v.0.3.1Mapping container type with __getitem__ and __getattr__ access ...
    • Pytunkrank  v.0.1Python interface to TunkRank API ...