Skip to content

Commit

Permalink
Update podman-systemd-general.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed Jun 13, 2020
1 parent 189dd90 commit 9ce62c4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/gettingstarted/podman-systemd-general.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,14 @@ Environment="SC4S_LOCAL_CONFIG_MOUNT=-v /opt/sc4s/local:/opt/syslog-ng/etc/conf.
TimeoutStartSec=0
Restart=always

ExecStartPre=/usr/bin/podman pull $SC4S_IMAGE
ExecStartPre=/usr/bin/bash -c "/usr/bin/systemctl set-environment SC4SHOST=$(hostname -s)"
ExecStart=/usr/bin/podman run –pull=always -p 514:514 -p 514:514/udp -p 6514:6514 \
ExecStartPre=/usr/bin/podman run \
--env-file=/opt/sc4s/env_file \
"$SC4S_LOCAL_CONFIG_MOUNT" \
--name SC4S_preflight \
--rm $SC4S_IMAGE -s
ExecStart=/usr/bin/podman run -p 514:514 -p 514:514/udp -p 6514:6514 \
-e "SC4S_CONTAINER_HOST=${SC4SHOST}" \
--env-file=/opt/sc4s/env_file \
"$SC4S_PERSIST_VOLUME" \
Expand All @@ -80,7 +86,8 @@ ExecStart=/usr/bin/podman run –pull=always -p 514:514 -p 514:514/udp -p 6514:6
"$SC4S_TLS_DIR" \
--name SC4S \
--rm $SC4S_IMAGE
Restart=on-successck -D -p udp
ExecStartPost=sleep 2 ; conntrack -D -p udp
Restart=on-success
```

* Execute the following command to create a local volume that will contain the disk buffer files in the event of a communication
Expand Down

0 comments on commit 9ce62c4

Please sign in to comment.