plugins icon indicating copy to clipboard operation
plugins copied to clipboard

nginx pid not at right place

Open chlochlo78 opened this issue 3 years ago • 2 comments

OPNsense 22.1.10-amd64 ( protectli 4 port) FreeBSD 13.0-STABLE OpenSSL 1.1.1q 5 Jul 2022

during daily restart with protectli appliance, service nginx does not restart because of missing directive or bad default directory.

=> /usr/local/etc/rc.d/nginx: WARNING: failed to start nginx

  • not working with directive in root@fw:/usr/local/etc/nginx # grep _pidprefix /usr/local/etc/rc.d/nginx _pidprefix="/var/run" pidfile="${_pidprefix}/${name}.pid" pidfile="${_pidprefix}/${nginx_pid_prefix}${profile}.pid"

  • working with define pid and locaton to

  • root@fw:/usr/local/etc/nginx # grep pid /usr/local/etc/nginx/nginx.conf pid /var/run/nginx.pid;

Great Job with Opnsense , Very Thx for everybody who works to this project

chlochlo78 avatar Jul 10 '22 11:07 chlochlo78

Thank you for creating an issue. Since the ticket doesn't seem to be using one of our templates, we're marking this issue as low priority until further notice.

For more information about the policies for this repository, please read https://github.com/opnsense/core/blob/master/CONTRIBUTING.md for further details.

The easiest option to gain traction is to close this ticket and open a new one using one of our templates.

OPNsense-bot avatar Jul 10 '22 12:07 OPNsense-bot

I think it's better to use configctl to restart services on OPNsense, not a service

kulikov-a avatar Aug 20 '22 07:08 kulikov-a

This issue has been automatically timed-out (after 180 days of inactivity).

For more information about the policies for this repository, please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.

If someone wants to step up and work on this issue, just let us know, so we can reopen the issue and assign an owner to it.

OPNsense-bot avatar Jan 06 '23 11:01 OPNsense-bot