summarylogtreecommitdiffstats
path: root/vflow.service
blob: 1af7af580edc4c0f1eb2e40bd027e5ecca90655e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[Unit]
Description=SYSV: vFlow enterprise IPFIX, sFlow v5 raw header collector and Kafka/NSQ producer

SourcePath=/etc/rc.d/init.d/vflow

After=network-online.target
After=network.service
After=kafka.service
Conflicts=shutdown.target

[Service]
Type=forking
User=root
Restart=always
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes

ExecStart=/etc/rc.d/init.d/vflow start
ExecStop=/etc/rc.d/init.d/vflow stop

[Install]
WantedBy=multi-user.target