Hello Stuart,
Thank you for your answer.
1)
>but you start as _netbox:
>> daemon_user="_netbox"
>that won't work, it needs root to change uid (to www).
I finally chose to run it as _netbox and change this line
daemon_flags="--name netbox --pid /var/run/netbox.pid --user=_netbox
--group=_netbox -
here you tell it to run it as www:
> daemon_flags="--name netbox --pid /var/run/netbox.pid --user=www --group=www
> --config=${_BASEDIR}/gunicorn.py"
> daemon_flags="${daemon_flags} --log-level=info --log-file=- netbox.wsgi"
but you start as _netbox:
> daemon_user="_netbox"
that won't work, it
2 matches
Mail list logo