Skip to content

Conversation

@moubctez
Copy link
Contributor

No description provided.

j-chmielewski and others added 15 commits November 3, 2025 09:55
…ce (#222)

* feat(opnsense): enable PID file monitoring for Defguard Gateway service

Replace nocheck flag with proper PID file configuration to enable OPNsense
service status monitoring. The service now correctly tracks the gateway
process state via PID file.

Changes:
- Remove 'nocheck' flag from service definition
- Add dynamic PID file path reading from user configuration
- Set default PID file location to /var/run/defguard_gateway.pid
- Add default value to PidFile model field for consistency
- Update form to display default PID file location hint
- Simplify config.toml template to always output pidfile with default

The PID file location can now be customized by users through the UI, or
will default to /var/run/defguard_gateway.pid. This ensures OPNsense can
properly monitor and report the gateway service status.

* Also identified that the actions file needs to match the service name
@moubctez moubctez marked this pull request as ready for review December 16, 2025 10:30
@moubctez moubctez changed the base branch from release/1.6-alpha to dev December 16, 2025 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants