aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ntop/ntop/ntop.service
blob: 1ead2a0c5f20ca92fc1c9784c50c7606c6af5983 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=A network traffic probe similar to the UNIX top command
Requires=network.target

ConditionPathExists=@SYSCONFDIR@/ntop.conf
After=syslog.target network.target

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=@LIBEXECDIR@/ntop-helper start
ExecStop=@LIBEXECDIR@/ntop-helper stop

[Install]
WantedBy=multi-user.target