daemon

All posts tagged daemon by Linux Bash
  • Posted on
    Featured Image
    The article provides a guide on creating a Linux daemon that can resist termination by the `SIGHUP` signal, typically sent when a session logs out. It details the use of `nohup` and `disown` commands to prevent daemons from ending with the session. Starting with `nohup` to ignore hangup signals and appending `&` for background execution, followed by `disown` to eliminate the job from the shell's job table, ensures the daemon persists post-logout, ideal for continuous system tasks.
  • Posted on
    Featured Image
    Explore the key differences in default cron daemons across major Linux distributions, such as CentOS, Ubuntu, and Debian. Understand how Cronie, Vixie Cron, and Dillon's Cron impact system management and task scheduling with features like security enhancements, logging capabilities, and ease of configuration. Tailor your approach to meet specific administrative needs by considering factors like security, resource efficiency, and legacy system management. Ideal for Linux administrators aiming to optimize automation.