]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Cleanup systemd module
authorFred Morcos <fred.morcos@open-xchange.com>
Tue, 15 Aug 2023 21:49:43 +0000 (23:49 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:39 +0000 (13:28 +0100)
meson/systemd/meson.build

index 1ef14a87995be3cb7e9fe033635326048419368d..74f515bfd44ced9382f30e132c2d7238f8936081 100644 (file)
@@ -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