SVSETUP(8)

πŸ“¦
version 0.6 Β· 4 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

SVSETUP(8) πŸ’–

okay bestie, welcome to svsetup(8) β€” she lives in the System Administration Utilities corner of your system, and she's about to make daemontools service setup feel like a lil treat πŸŽ€


✨ NAME ✨

svsetup β€” the service setup tool for daemontools. yes that's her whole job and she's slaying it πŸ’…


✨ SYNOPSIS ✨

svsetup [OPTION]... CMD SERVICE

that's it. options, then a command, then a service name. iconic structure, no notes 🫢


✨ DESCRIPTION ✨

Service setup tool for daemontools. literally the whole point of her existence, periodt πŸ’œ

πŸŽ€ the options πŸŽ€

  • -u USER β€” pick the service user name. default is root (iykyk)
  • -l USER β€” pick the log user name. default is also root, girlies love consistency πŸ’–
  • -n β€” do NOT set up logging with multilog. like, no logs, no vibes, just vibes-less πŸ™ˆ
  • -e ETCDIR β€” tell her where the cfg directory is. default: /etc/sv/SERVICE
  • -L LOGDIR β€” tell her where the log directory is. default: /var/log/sv/SERVICE
  • -s SERVICEDIR β€” point at the service directory. default: automatically detected ✨ (she's got main character detection energy)
  • -d β€” delete the service user when the service gets removed
  • -D β€” delete the log user when the service gets removed
  • -h, --help β€” show help and dip out. classic πŸ’…
  • -V, --version β€” show the version and dip out. also classic 🌸

🌈 the arguments 🌈

  • CMD β€” the action you want her to perform, and here are your choices:
    • CREATE β€” make a brand new service, fresh out the box πŸ¦‹
    • REMOVE β€” delete an existing service, rip boo πŸ’€
    • ENABLE β€” enable the service, wake her up ⭐
    • DISABLE β€” disable the service, let her nap 😴
  • SERVICE β€” the name of the service you're talking about. specify it or she doesn't know who you mean, bestie πŸŽ€

NOTE: if you REMOVE a service and you specified a service user (with -u) and/or a log user (with -l), those users get removed too β€” except root β€” but ONLY if you also pass -d and/or -D. and here's the unhinged part: this happens with zero confirmation requests, and those users get deleted even if they were not created by svsetup. not me warning you twice. be so careful fr fr 😭

also! if you create a new service, she makes a default run script for you. but if there's already a run script sitting in ETCDIR, then that existing runscript is the one that gets used instead. she respects the pre-existing serve πŸ’…βœ¨


✨ REPORTING BUGS ✨

found a bug? spill the tea to Klaus Reimer <k@ailis.de> πŸ›πŸ’Œ


Copyright Β© 2000-2011 by Klaus Reimer

This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. πŸ’œ


okay that's the whole page, bestie!! go forth and set up them services πŸ‘‘

svsetup 0.6 β€” February 2021 πŸŒΈπŸ’– that's the version and the date, mwah, bye!! 🫢✨

πŸ“¦ where this page comes from