summaryrefslogtreecommitdiff
path: root/systemd-services/meson.build
blob: 18be63c5efcf7e2e2b17eda3c6da7730c3b473a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
if get_option('systemd') == true
  dep = dependency('systemd')

  ethumb_service_config = configuration_data()

  ethumb_service_config.set('prefix', dir_prefix)

  configure_file(
    input: 'ethumb.service.in',
    output: 'ethumb.service',
    configuration: ethumb_service_config,
    install_dir: dep.get_pkgconfig_variable('systemduserunitdir'))
endif