meta data for this page
Differences
This shows you the differences between two versions of the page.
programming:python:daemon [2024/01/01 16:39] niziak created |
programming:python:daemon [2024/01/01 16:39] (current) niziak |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== daemon ====== | ====== daemon ====== | ||
+ | |||
===== systemd ===== | ===== systemd ===== | ||
+ | |||
+ | [[https://stackoverflow.com/questions/13069634/python-daemon-and-systemd-service|Python daemon and systemd service]] | ||
+ | |||
When using systemd, it is no need to implement daemon in main process. | When using systemd, it is no need to implement daemon in main process. | ||
Systemd simply works with foreground services (default service ''type=simple''. See [[https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html#Type=|Type=]]). | Systemd simply works with foreground services (default service ''type=simple''. See [[https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html#Type=|Type=]]). |