All apps/daemon

daemon

daemon

Turns other processes into daemons.

Runs as daemon|macOS, Linux, Windows|libslack.org

Command form

ai-draft · 2 tasks · 14 fields

Start a program detached as a daemon, optionally as a named, respawning instance with log files. Management of existing named daemons (--running, --stop, --restart, --signal, --list), config-file and chroot options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui daemon
Run a command as a daemonExample values, fixed in this page — nothing here reaches a terminal
Basic
Name
string
Command and arguments*
string
Client output log
string
Daemon error log
string
Working directory
directory
TasksEach one presets the form for one job
Run a command detached
nameoutputerrlogchdircommand
Named, respawning service
namerespawnattemptsdelayoutputerrlogchdircommand
ParametersOnly these flags are editable in the form
Name
Guarantee a single named instance; also needed to manage it later.
string
--name-n
Pidfile
path
--pidfile-F
Run as user[:group]
string
--user-u
Working directory
path
--chdir-D
Environment variable
var=val; repeat to set several.
string · repeatable
--env-e
Inherit environment
boolean
--inherit-i
Respawn when it exits
boolean
--respawn-r
Respawn attempts before delay
integer
--attempts-A
Delay between bursts (seconds)
integer
--delay-L
Run client in foreground
boolean
--foreground-f
Daemon error log
syslog spec or file.
string
--errlog-l
Client output log
syslog spec or file.
string
--output-o
Verbose
boolean
--verbose-v
Command and arguments
string · positional 0 · repeatable
SourcesEvery flag above is checked against these
help
usage: daemon [options] [--] [cmd arg...] -n, --name=name - Guarantee a single named instance -X, --command="cmd" - Specify the client command as an option -F, --pidfile=/path - Override standard pidfile name and location -u, --user=user[:[group]] - Run the client as user[:group] -D, --chdir=path - Run the client in directory p…
manualdaemon(1) manual

libslack.org

Before it fills your prompt, Otty checks the installed daemon against its version. A form that does not match your version is not offered.