mirror of
https://github.com/xdp-project/bpf-examples.git
synced 2024-05-06 15:54:53 +00:00
Add some example files for setting up ePPing with systemd. The setup creates "log" files in /var/log/pping and rotates them every minute (appending a date at the time of rotation). Signed-off-by: Simon Sundberg <simon.sundberg@kau.se>
7 lines
190 B
Desktop File
7 lines
190 B
Desktop File
[Unit]
|
|
Description=Rotates the output file from ePPing (pping.service)
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/opt/bpf-examples/pping/scripts/rotate-pping-output.sh /var/log/pping/pping.out.json
|