summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorBarak A. Pearlmutter <barak+git@pearlmutter.net>2019-02-13 01:16:25 +0000
committerAndrej Shadura <andrewsh@debian.org>2019-02-24 08:48:52 +0100
commit3652e99c64634c71259b44460b24a5bc94aabcb2 (patch)
tree5cc770f05154aa24f48881a3087f7ff3f128f2f0 /Makefile.am
parentd39ea648d4e0402bc941cbd9267fc7a912c11d00 (diff)
systemd service file for tayga
Snarfed from https://ingvar.fedorapeople.org/tayga/tayga-0.9.2_redhat_initscripts_and_systemd.patch Gbp-Pq: Name 0009-systemd-service-file-for-tayga.patch
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 55fce24..b90354b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,3 +7,10 @@ dist_sysconf_DATA = tayga.conf.example
dist_man_MANS = tayga.8 tayga.conf.5
tayga_SOURCES = nat64.c addrmap.c dynamic.c tayga.c conffile.c tayga.h list.h
+
+# See daemon(7)
+AM_DISTCHECK_CONFIGURE_FLAGS = \
+ --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
+if HAVE_SYSTEMD
+systemdsystemunit_DATA = tayga.service
+endif