+## Systemd units.
+noinst_DATA += tripe.service
+EXTRA_DIST += tripe.service.in
+CLEANFILES += tripe.service
+
+tripe.service: tripe.service.in Makefile
+ $(SUBST) $(srcdir)/tripe.service.in >$@.new $(SUBSTITUTIONS) && \
+ mv $@.new $@
+
+noinst_DATA += tripe-connect.service tripe-conntrack.service
+EXTRA_DIST += tripe-service.service.in
+CLEANFILES += tripe-connect.service tripe-conntrack.service
+
+tripe-connect.service: tripe-service.service.in Makefile
+ $(SUBST) $(srcdir)/tripe-service.service.in >$@.new \
+ $(SUBSTITUTIONS) service=connect \
+ descr="manage peer connections" && \
+ mv $@.new $@
+
+tripe-conntrack.service: tripe-service.service.in Makefile
+ $(SUBST) $(srcdir)/tripe-service.service.in >$@.new \
+ $(SUBSTITUTIONS) service=conntrack \
+ descr="track network connectivity" && \
+ mv $@.new $@
+