-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(scripts/install.sh): add support for systemd (#733)
* chore(scripts/install.sh): do not abort script if configuration already exists Signed-off-by: Dominik Rosiek <[email protected]> * chore(examples): add systemd service example Signed-off-by: Dominik Rosiek <[email protected]> * chore(scripts/install.sh): fix tags generations Signed-off-by: Dominik Rosiek <[email protected]> * chore(scripts/install.sh): fix template generation Signed-off-by: Dominik Rosiek <[email protected]> * chore(scripts/install.sh): increase memory limit to 2GB Signed-off-by: Dominik Rosiek <[email protected]> * chore(scripts/install.sh): add support for systemd Signed-off-by: Dominik Rosiek <[email protected]> * chore(scripts/install.sh): fix syntax Signed-off-by: Dominik Rosiek <[email protected]> * Update scripts/install.sh Signed-off-by: Dominik Rosiek <[email protected]>
- Loading branch information
1 parent
91245f4
commit 38ad243
Showing
2 changed files
with
113 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[Unit] | ||
Description=Sumo Logic Distribution for OpenTelemetry Collector | ||
|
||
[Service] | ||
ExecStart=/usr/local/bin/otelcol-sumo --config /etc/otelcol-sumo/config.yaml | ||
User=opentelemetry | ||
Group=opentelemetry | ||
MemoryHigh=2000M | ||
MemoryMax=3000M | ||
TimeoutStopSec=20 | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters