File: wscript

package info (click to toggle)
ntpsec 1.2.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 10,360 kB
  • sloc: ansic: 62,698; python: 32,477; sh: 1,575; yacc: 1,331; makefile: 193; javascript: 138
file content (24 lines) | stat: -rw-r--r-- 530 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright the NTPsec project contributors
#
# SPDX-License-Identifier: BSD-2-Clause

def build(ctx):

    units = [
        "ntp-wait.service",
        "ntpd.service",
        "ntpviz-daily.service",
        "ntplogtemp.service",
        "ntplogtemp.timer",
        "ntpviz-daily.timer",
        "ntpviz-weekly.service",
        "ntpviz-weekly.timer",
    ]

    # Install unit files
    ctx(
        features="subst",
        source=units,
        target=units,
        install_path=ctx.env.SYSTEMD_systemdsystemunitdir,
    )