From c509d0e6caae55106a2fbde3059652a493ed3903 Mon Sep 17 00:00:00 2001 From: khramshinr Date: Mon, 8 Jul 2024 16:38:22 +0600 Subject: T6362: Create conntrack logger daemon --- src/systemd/vyos-conntrack-logger.service | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/systemd/vyos-conntrack-logger.service (limited to 'src/systemd') diff --git a/src/systemd/vyos-conntrack-logger.service b/src/systemd/vyos-conntrack-logger.service new file mode 100644 index 000000000..9bc1d857b --- /dev/null +++ b/src/systemd/vyos-conntrack-logger.service @@ -0,0 +1,21 @@ +[Unit] +Description=VyOS conntrack logger daemon + +# Seemingly sensible way to say "as early as the system is ready" +# All vyos-configd needs is read/write mounted root +After=conntrackd.service + +[Service] +ExecStart=/usr/bin/python3 -u /usr/libexec/vyos/services/vyos-conntrack-logger -c /run/vyos-conntrack-logger.conf +Type=idle + +SyslogIdentifier=vyos-conntrack-logger +SyslogFacility=daemon + +Restart=on-failure + +User=root +Group=vyattacfg + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3