123456789101112131415161718192021222324 |
- tangd_service = configure_file(
- input: 'tangd@.service.in',
- output: 'tangd@.service',
- configuration: data
- )
- tangd_socket = configure_file(
- input: 'tangd.socket.in',
- output: 'tangd.socket',
- configuration: data
- )
- if host_machine.system() == 'freebsd'
- tangd_rc = configure_file(
- input: 'tangd.rc.in',
- output: 'tangd',
- configuration: data,
- install_dir: join_paths(get_option('prefix') + sysconfdir, 'rc.d'),
- install_mode: ['rwxr-xr-x', 'root', 'wheel']
- )
- else
- units += tangd_socket
- units += tangd_service
- endif
- # vim:set ts=2 sw=2 et:
|