# Only enable systemd integration on Linux operating systems
ifeq ($(DEB_HOST_ARCH_OS),linux)
MESON_ARGS += -Dsystemd-service=enabled
+MESON_ARGS += -Dsystemd-service-user=pdns
+MESON_ARGS += -Dsystemd-service-group=pdns
DH_ARGS += --with systemd
else
MESON_ARGS += -Dsystemd-service=disabled
# Only enable systemd integration on Linux operating systems
ifeq ($(DEB_HOST_ARCH_OS),linux)
MESON_ARGS += -Dsystemd-service=enabled
+MESON_ARGS += -Dsystemd-service-user=pdns
+MESON_ARGS += -Dsystemd-service-group=pdns
DH_ARGS += --with systemd
else
MESON_ARGS += -Dsystemd-service=disabled
option('unit-tests-backends', type: 'boolean', value: false, description: 'Not relevant for recursor')
option('reproducible', type: 'boolean', value: false, description: 'Reproducible builds (for distro maintainers, makes debugging difficult)')
option('systemd-service', type: 'feature', value: 'auto', description: 'Systemd integration (requires libsystemd)')
-option('systemd-service-user', type: 'string', value: 'pdns', description: 'Systemd service user (setuid and unit file; user is not created)')
-option('systemd-service-group', type: 'string', value: 'pdns', description: 'Systemd service group (setgid and unit file; group is not created)')
+option('systemd-service-user', type: 'string', value: 'pdns-recursor', description: 'Systemd service user (setuid and unit file; user is not created)')
+option('systemd-service-group', type: 'string', value: 'pdns-recursor', description: 'Systemd service group (setgid and unit file; group is not created)')
option('auto-var-init', type: 'combo', value: 'disabled', choices: ['zero', 'pattern', 'disabled'], description: 'Enable initialization of automatic variables')
option('malloc-trace', type: 'boolean', value: false, description: 'Enable malloc-trace')
option('socket-dir', type: 'string', value: '/var/run', description: 'Where the control socket lives')