svc(8)
β¨ svc(8) β¨
System Manager's Manual π svc(8) β bestie, this is the little command that tells your services what to do. π
πΈ NAME πΈ
svc β controls services monitored by supervise(8). π
π SYNOPSIS π
svc [ -udopchaitkx ] services
π¦ DESCRIPTION π¦
okay so services is literally just any number of arguments, and each argument names a directory used by supervise(8). that's it, that's the whole vibe. β¨
and svc applies all the options to each service in turn β like, every single service gets the same treatment, no favorites. π«Ά
π OPTIONS π
-uβ Up. if the service isn't running, start it. and if the service stops? restart it. keep it alive, main character energy. π₯-dβ Down. if the service is running, send it aTERMsignal and then aCONTsignal. after it stops, do not restart it. it's over, periodt. π-oβ Once. if the service isn't running, start it. do not restart it if it stops. one and done, no encore. π-pβ Pause. send the service aSTOPsignal. β-cβ Continue. send the service aCONTsignal. okay keep going bestie π-hβ Hangup. send the service aHUPsignal. π-aβ Alarm. send the service anALRMsignal. β°-iβ Interrupt. send the service anINTsignal. π-tβ Terminate. send the service aTERMsignal. π-kβ Kill. send the service aKILLsignal. no cap, this one does not play. π-qβ Quit. send the service aQUITsignal. πͺ-1β send the service aUSR1signal. 1οΈβ£-2β send the service aUSR2signal. 2οΈβ£-xβ Exit.supervise(8)will exit as soon as the service is down.
π¨ okay real talk about-x: if you use this option on a stable system, you're doing something wrong.supervise(8)is designed to run forever. it's giving "why would you do that" energy. π
π SEE ALSO π
supervise(8), svok(8), svstat(8), svscanboot(8), svscan(8), readproctitle(8), fghack(8), pgrphack(8), multilog(8), tai64n(8), tai64nlocal(8), setuidgid(8), envuidgid(8), envdir(8), softlimit(8), setlock(8)
http://cr.yp.to/daemontools.html π§
and that's the whole page, bestie!! π«Ά this one lives in the System Manager's Manual, and it's signed off as svc(8) at the bottom β go forth and supervise something iconic. πβ¨π
π¦ where this page comes from
- debian trixie: daemontools 1:0.76-14 Β· LicenseRef-public-domain
- ubuntu noble: daemontools 1:0.76-10 Β· LicenseRef-public-domain
- ubuntu questing: daemontools 1:0.76-15
- ubuntu resolute: daemontools 1:0.76-15build1 Β· LicenseRef-public-domain
- ubuntu stonking: daemontools 1:0.76-15build1 Β· LicenseRef-public-domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms