summarylogtreecommitdiffstats
path: root/flow-capture.service
diff options
context:
space:
mode:
Diffstat (limited to 'flow-capture.service')
-rw-r--r--flow-capture.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/flow-capture.service b/flow-capture.service
new file mode 100644
index 000000000000..715b3e160cb2
--- /dev/null
+++ b/flow-capture.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Capture Traffic Netflow Data
+After=network.target
+
+[Service]
+User=flow-tools
+Group=flow-tools
+Type=simple
+EnvironmentFile=-/etc/flow-tools/flow-capture.conf
+ExecStart=/usr/bin/flow-capture -D $OPTIONS
+
+[Install]
+WantedBy=multi-user.target