Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make systemd-tmpfiles optional #3435

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ if command -v systemctl > /dev/null; then
fi

# Reload other configs
systemd-tmpfiles --create opensearch-dashboards.conf
if command -v systemd-tmpfiles > /dev/null; then
systemd-tmpfiles --create opensearch-dashboards.conf
fi

# Messages
echo "### NOT starting on installation, please execute the following statements to configure opensearch-dashboards service to start automatically using systemd"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ if command -v systemctl > /dev/null; then
systemctl daemon-reload
fi
# Reload other configs
systemd-tmpfiles --create %{name}.conf
if command -v systemd-tmpfiles > /dev/null; then
systemd-tmpfiles --create %{name}.conf
fi
# Messages
echo "### NOT starting on installation, please execute the following statements to configure opensearch-dashboards service to start automatically using systemd"
echo " sudo systemctl daemon-reload"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ fi
if command -v systemctl > /dev/null; then
systemctl restart systemd-sysctl.service || true
fi
systemd-tmpfiles --create opensearch.conf

if command -v systemd-tmpfiles > /dev/null; then
systemd-tmpfiles --create opensearch.conf
fi

# Messages
echo "### NOT starting on installation, please execute the following statements to configure opensearch service to start automatically using systemd"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,11 @@ fi
if command -v systemctl > /dev/null; then
systemctl restart systemd-sysctl.service || true
fi
systemd-tmpfiles --create %{name}.conf

if command -v systemd-tmpfiles > /dev/null; then
systemd-tmpfiles --create %{name}.conf
fi

# Messages
echo "### NOT starting on installation, please execute the following statements to configure opensearch service to start automatically using systemd"
echo " sudo systemctl daemon-reload"
Expand Down