systemd: add service file, untested version
diff --git a/Makefile.am b/Makefile.am
index 8f25ef3..56b967c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,6 +9,12 @@
 dist-hook:
 	find "$(distdir)" -name .gitignore -exec rm {} \;
 
+DISTCHECK_CONFIGURE_FLAGS="--without-systemd"
+if HAVE_SYSTEMD
+systemddir=@SYSTEMD_UNIT_DIR@
+systemd_DATA=nemea-supervisor.service
+endif
+
 if MAKE_RPMS
 
 RPMFILENAME=$(PACKAGE_NAME)-$(VERSION)