mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
17 lines
499 B
Desktop File
17 lines
499 B
Desktop File
[Unit]
|
|
Description=Network statistics gatherer (packet sniffer)
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
EnvironmentFile=/etc/conf.d/darkstat.conf
|
|
PIDFile=/run/darkstat.pid
|
|
ExecStart=/usr/sbin/darkstat --user "darkstat" --chroot "/var/darkstat" \
|
|
--import "darkstat.dat" --export "darkstat.dat" \
|
|
--pidfile /run/darkstat.pid \
|
|
-b 0.0.0.0 \
|
|
-i "$DARKSTAT_IFACE" $DARKSTAT_ARGS
|
|
ExecStopPost=/bin/rm -f /run/darkstat.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|