RESTARTD(8)
πΈ 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 is20. 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β Runrestartdin 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
- debian bookworm: restartd 0.2.3-1.1
- ubuntu jammy: restartd 0.2.3-1.1
- ubuntu noble: restartd 0.2.3-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms