diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-07-29 17:11:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-29 17:11:24 +0100 |
commit | 7724a5f58b515fbc094b4f211d455c1bd5071a74 (patch) | |
tree | 17622524743d35934037fd665ecb4aeb62ad33ae /src/systemd/vyos-conntrack-logger.service | |
parent | 9149c657dfdb4d8297aba3ef1ed1346e670b071b (diff) | |
parent | c509d0e6caae55106a2fbde3059652a493ed3903 (diff) | |
download | vyos-1x-7724a5f58b515fbc094b4f211d455c1bd5071a74.tar.gz vyos-1x-7724a5f58b515fbc094b4f211d455c1bd5071a74.zip |
Merge pull request #3804 from HollyGurza/T6362
T6362: Create conntrack logger daemon
Diffstat (limited to 'src/systemd/vyos-conntrack-logger.service')
-rw-r--r-- | src/systemd/vyos-conntrack-logger.service | 21 |
1 files changed, 21 insertions, 0 deletions
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 |