Closed thesame closed 1 week ago
For the record, --no-daemon
was introduced in https://github.com/nginx/unit/pull/212
I'm not sure if we want to change this to daemonization; or rather provide documentation on how to edit the service file to override the ExecStart=
line.
We do run unit on debian with daemonization, so this only applies to rpm-based distros.
Thoughts?
So I guess that's at least +2 for moving back to daemon/forking. I'll prepare a PR with the changes, if noone objects.
Also interested.
Systemd unit in package unit-1.32.0-1.amzn2023.ngx.x86_64.rpm contains this line:
/usr/sbin/unitd $UNITD_OPTIONS --no-daemon
which rendersstdout
andstderr
options of/config/applications/*
objects useless, according to this line in the documentation: