summaryrefslogtreecommitdiff
path: root/community/ntop/ntop.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/ntop/ntop.service')
-rw-r--r--community/ntop/ntop.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/ntop/ntop.service b/community/ntop/ntop.service
new file mode 100644
index 000000000..c18a2c83a
--- /dev/null
+++ b/community/ntop/ntop.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=A network traffic probe similar to the UNIX top command
+Requires=network.target
+ConditionPathExists=/var/lib/ntop/ntop_pw.db
+After=syslog.target network.target
+
+[Service]
+Environment=LANG=C
+ExecStart=/usr/bin/ntop -i eth0 -w 3000
+Type=simple
+StandardError=syslog
+
+[Install]
+WantedBy=multi-user.target