Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 473 Bytes

File metadata and controls

14 lines (10 loc) · 473 Bytes

Simple Daemon =)

Playing around concept of UNIX daemon (background process).

In this simple script I'm trying to implement proper daemonization mechanism, according to this page, only for Unix-like systems.

How to run

  • python3 daemon.py start — starts the daemon. Daemon itself produces stub messages into log file so you can see it's working.
  • python3 daemon.py stop — stops the daemon.