Debian Codegraph @

debian/fprobe.service

raw
1 [Unit]
2 Description=NetFlow Collector (fprobe)
3 Documentation=man:fprobe(8)
4 After=network-online.target
5 Wants=network-online.target
6
7 [Service]
8 Type=forking
9
10 # fprobe daemon and options
11 ExecStart=/usr/sbin/fprobe -i${INTERFACE} ${OTHER_ARGS} ${FLOW_COLLECTOR}
12
13 # PID handling
14 PIDFile=/run/fprobe.pid
15
16 # Load /etc/default/fprobe if present
17 EnvironmentFile=-/etc/default/fprobe
18
19 # Restart behaviour similar to SysV restart
20 Restart=on-failure
21
22 # Minimal hardening, safe for legacy daemon
23 NoNewPrivileges=true
24 PrivateTmp=true
25
26 [Install]
27 WantedBy=multi-user.target