Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | [Unit] |
2 | Description=A network traffic probe similar to the UNIX top command | ||||
3 | Requires=network.target | ||||
4 | |||||
5 | ConditionPathExists=@SYSCONFDIR@/ntop.conf | ||||
6 | After=syslog.target network.target | ||||
7 | |||||
8 | [Service] | ||||
9 | Type=oneshot | ||||
10 | RemainAfterExit=yes | ||||
11 | ExecStart=@LIBEXECDIR@/ntop-helper start | ||||
12 | ExecStop=@LIBEXECDIR@/ntop-helper stop | ||||
13 | |||||
14 | [Install] | ||||
15 | WantedBy=multi-user.target |