blob: 5e303411f28d194f801493dbf742c9a1d0770510 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
[Unit]
Description=Network statistics gatherer (packet sniffer)
[Service]
User=couchdb
Type=forking
EnvironmentFile=/etc/conf.d/darkstat.conf
PIDFile=/var/darkstat/darkstat.pid
ExecStart=/usr/sbin/darkstat --user "darkstat" --chroot "/var/darkstat" \
--import "darkstat.dat" --export "darkstat.dat" \
--pidfile /var/darkstat/darkstat.pid \
-i "$DARKSTAT_IFACE" $DARKSTAT_ARGS
[Install]
WantedBy=multi-user.target
|