Skip to content

Commit 39e32c8

Browse files
committed
feat(scripts): add plugindir to systemd service commandline options
Signed-off-by: Frederico Araujo <[email protected]>
1 parent 49ede7c commit 39e32c8

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
1515
1616
## [Unreleased]
1717

18+
## [0.4.3] - 2022-06-21
19+
20+
### Changed
21+
22+
- Update systemd service to include plugindir argument
23+
1824
## [0.4.2] - 2022-06-10
1925

2026
### Changed
@@ -131,7 +137,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
131137

132138
- First release of SysFlow Processor.
133139

134-
[Unreleased]: https://github.com/sysflow-telemetry/sf-processor/compare/0.4.2...HEAD
140+
[Unreleased]: https://github.com/sysflow-telemetry/sf-processor/compare/0.4.3...HEAD
141+
[0.4.3]: https://github.com/sysflow-telemetry/sf-processor/compare/0.4.1...0.4.3
135142
[0.4.2]: https://github.com/sysflow-telemetry/sf-processor/compare/0.4.1...0.4.2
136143
[0.4.1]: https://github.com/sysflow-telemetry/sf-processor/compare/0.4.0...0.4.1
137144
[0.4.0]: https://github.com/sysflow-telemetry/sf-processor/compare/0.3.1...0.4.0

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Supported tags and respective `Dockerfile` links
88

9-
- [`0.4.2`, `latest`](https://github.com/sysflow-telemetry/sf-processor/blob/0.4.2/Dockerfile), [`edge`](https://github.com/sysflow-telemetry/sf-processor/blob/master/Dockerfile), [`dev`](https://github.com/sysflow-telemetry/sf-processor/blob/dev/Dockerfile)
9+
- [`0.4.3`, `latest`](https://github.com/sysflow-telemetry/sf-processor/blob/0.4.3/Dockerfile), [`edge`](https://github.com/sysflow-telemetry/sf-processor/blob/master/Dockerfile), [`dev`](https://github.com/sysflow-telemetry/sf-processor/blob/dev/Dockerfile)
1010

1111
# Quick reference
1212

@@ -26,7 +26,7 @@
2626
[docker hub](https://hub.docker.com/u/sysflowtelemetry) | [GHCR](https://github.com/orgs/sysflow-telemetry/packages)
2727

2828
- **Binary packages**:
29-
[deb](https://github.com/sysflow-telemetry/sf-processor/releases/tag/0.4.2/sfprocessor-0.4.2-x86_64.deb) | [rpm](https://github.com/sysflow-telemetry/sf-processor/releases/tag/0.4.2/sfprocessor-0.4.2-x86_64.rpm) | [tgz](https://github.com/sysflow-telemetry/sf-processor/releases/tag/0.4.2/sfprocessor-0.4.2-x86_64.tar.gz)
29+
[deb](https://github.com/sysflow-telemetry/sf-processor/releases/tag/0.4.3/sfprocessor-0.4.3-x86_64.deb) | [rpm](https://github.com/sysflow-telemetry/sf-processor/releases/tag/0.4.3/sfprocessor-0.4.3-x86_64.rpm) | [tgz](https://github.com/sysflow-telemetry/sf-processor/releases/tag/0.4.3/sfprocessor-0.4.3-x86_64.tar.gz)
3030

3131
# What is SysFlow?
3232

makefile.manifest.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Teryl Taylor <[email protected]>
77
#
88

9-
SYSFLOW_VERSION?=0.4.2
9+
SYSFLOW_VERSION?=0.4.3
1010
SYSFLOW_BUILD_NUMBER?=1
1111
SYSFLOW_JSON_SCHEMA_VERSION=4
1212
SYSFLOW_ECS_VERSION=1.7.0

scripts/service/systemd/sysflow-processor.service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ After=sysflow.service
88
Type=simple
99
User=root
1010
EnvironmentFile=/etc/sysflow/conf/sysflow.env
11-
PassEnvironment=CONFIG_PATH SOCKET
12-
ExecStart=/usr/bin/sfprocessor -log=error -driver=socket -config=${CONFIG_PATH} ${SOCKET}
11+
PassEnvironment=CONFIG_PATH PLUGIN_DIR SOCKET
12+
ExecStart=/usr/bin/sfprocessor -log=error -driver=socket -config=${CONFIG_PATH} -plugdir=${PLUGIN_DIR} ${SOCKET}
1313
UMask=0077
1414
TimeoutSec=30
1515
RestartSec=15s

0 commit comments

Comments
 (0)