From: Fred Morcos Date: Tue, 15 Aug 2023 21:49:43 +0000 (+0200) Subject: Meson: Cleanup systemd module X-Git-Tag: rec-5.1.0-alpha1~80^2~231 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a048bec642ed29905e575c4ee52ba29e1161cef;p=thirdparty%2Fpdns.git Meson: Cleanup systemd module --- diff --git a/meson/systemd/meson.build b/meson/systemd/meson.build index 1ef14a8799..74f515bfd4 100644 --- a/meson/systemd/meson.build +++ b/meson/systemd/meson.build @@ -1,18 +1,13 @@ -# Systemd and unit file handling -# Inputs: conf deps -# Outputs: dep_systemd - dep_systemd = dependency('libsystemd', required: false) -conf.set10('HAVE_SYSTEMD', dep_systemd.found(), description: 'Whether we have systemd') -deps += dep_systemd +conf.set('HAVE_SYSTEMD', dep_systemd.found(), description: 'systemd') summary('Systemd', dep_systemd.found(), bool_yn: true, section: 'Configuration') if dep_systemd.found() - summary('Systemd Version', dep_systemd.version(), section: 'Configuration') + summary('Version', dep_systemd.version(), section: 'Systemd') systemd_service_user = get_option('systemd-service-user') systemd_service_group = get_option('systemd-service-group') - summary('Systemd User', systemd_service_user, section: 'Configuration') - summary('Systemd Group', systemd_service_group, section: 'Configuration') + summary('Service User', systemd_service_user, section: 'Systemd') + summary('Service Group', systemd_service_group, section: 'Systemd') endif