RESTARTD(8)

πŸ“¦ version 0.2.3, in debian bookworm, ubuntu jammy, ubuntu noble

🌸 RESTARTD(8) β€” ok bestie, let's talk daemons 🌸

restartd β€” your lil process checker and/or reloader πŸ’…


✨ NAME ✨

restartd β€” process checker and/or reloader 🫢


🌈 DESCRIPTION 🌈

Okay so Restartd is a daemon (yes, a daemon, main character energy, lives in the background, never texts back) that checks up on processes β€” the ones that are running and the ones that are very much not. πŸ’€

Every n seconds it reads the /proc directory and runs a POSIX regexp on the process names. Then, if a process is running or is not running, you can execute a script or a program. It's giving "personal assistant but for your processes". πŸ‘‘

For executing, restartd uses system(3).

For logging, restartd uses syslog with LOG_INFO and LOG_ERR facilities.

Not me casually regexing your entire process table every 20 seconds. It's fine. It's a vibe. πŸ¦‹

πŸ’– OPTIONS πŸ’–

restartd follows the GNU command line syntax. Slay, standard, we love to see it.

  • -h, --help β€” Displays a little help. Just a lil guy. A snack-sized amount of help. πŸŽ€
  • -v, --version β€” Show the version number and quit. Blink and it's gone. ✨
  • -d, --debug β€” Add very limited debugging. Lowkey debugging. Emphasis on very limited, bestie, don't get your hopes up. πŸ™ˆ
  • -i --interval β€” The process check interval in seconds. The default is 20. So every 20 seconds it does its lil check-in. πŸ•
  • -c --config β€” Use a different configuration file instead of /etc/restartd.conf. Custom config file, custom era. πŸ’œ
  • -f --foreground β€” Run restartd in foreground without detaching from the controlling terminal. No disappearing act, it stays right there with you. πŸ‘€

πŸ‘‘ AUTHOR πŸ‘‘

This manual page was written by Tibor Koleszar <t.koleszar@somogy.hu> and updated by Aurélien GÉRÔME <ag@roxor.cx> for the Debian GNU/Linux system.

Last modify: Thu, 14 Sep 2006 22:42:57 +0200


And that's the whole page, bestie β€” go forth and restart some processes. πŸ’– This lil writeup is from the RESTARTD(8) manual, dated 14 Sep 2006. Periodt. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from