diff options
author | Christian Breunig <christian@breunig.cc> | 2023-03-16 21:13:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-16 21:13:01 +0100 |
commit | 5619dd6fd7b38314488db998cdf912950e3fdc3d (patch) | |
tree | ab5165dd154b7b105619964050377b4cdbe62dca /data/templates/sflow/override.conf.j2 | |
parent | 7f0eb0b029c927e4b7b0003c934f682be9b36380 (diff) | |
parent | 707641f4dc947bce84eeff5499665e1cf76d7806 (diff) | |
download | vyos-1x-5619dd6fd7b38314488db998cdf912950e3fdc3d.tar.gz vyos-1x-5619dd6fd7b38314488db998cdf912950e3fdc3d.zip |
Merge pull request #1891 from sever-sever/T5086
T5086: Add sFlow feature based on hsflowd
Diffstat (limited to 'data/templates/sflow/override.conf.j2')
-rw-r--r-- | data/templates/sflow/override.conf.j2 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/data/templates/sflow/override.conf.j2 b/data/templates/sflow/override.conf.j2 new file mode 100644 index 000000000..f2a982528 --- /dev/null +++ b/data/templates/sflow/override.conf.j2 @@ -0,0 +1,16 @@ +[Unit] +After= +After=vyos-router.service +ConditionPathExists= +ConditionPathExists=/run/sflow/hsflowd.conf + +[Service] +EnvironmentFile= +ExecStart= +ExecStart=/usr/sbin/hsflowd -m %m -d -f /run/sflow/hsflowd.conf +WorkingDirectory= +WorkingDirectory=/run/sflow +PIDFile= +PIDFile=/run/sflow/hsflowd.pid +Restart=always +RestartSec=10 |