mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 06:47:07 +00:00
Fixes #275. Use this as the systemd unit file to run as a service: [Unit] Description=Dougal Network Packet Capture After=network.target remote-fs.target nss-lookup.target [Service] ExecStart=/srv/dougal/software/sbin/packet-capture.sh ExecStop=/bin/kill -s QUIT $MAINPID Restart=always User=root Group=users Environment=PATH=/usr/bin:/usr/sbin:/usr/local/bin Environment=INS_HOST=172.31.10.254 WorkingDirectory=/srv/dougal/software/var/ SyslogIdentifier=dougal.pcap [Install] WantedBy=multi-user.target