mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-09 12:31:02 +02:00
Scripts: apt instead of apt-get, cleanup_lxc, nginx_enable_site, drop needless daemon-reloads (#17624)
This commit is contained in:
committed by
GitHub
parent
e773412791
commit
2497c18bee
@@ -20,13 +20,13 @@ PASSWORD_SECRET=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c16)
|
||||
curl -fsSL "https://packages.graylog2.org/repo/packages/graylog-7.0-repository_latest.deb" -o "graylog-7.0-repository_latest.deb"
|
||||
$STD dpkg -i graylog-7.0-repository_latest.deb
|
||||
apt_update_safe
|
||||
$STD apt-get install graylog-datanode -y
|
||||
$STD apt install graylog-datanode -y
|
||||
sed -i "s/password_secret =/password_secret = $PASSWORD_SECRET/g" /etc/graylog/datanode/datanode.conf
|
||||
systemctl enable -q --now graylog-datanode
|
||||
msg_ok "Setup Graylog Data Node"
|
||||
|
||||
msg_info "Setup ${APPLICATION}"
|
||||
$STD apt-get install graylog-server
|
||||
$STD apt install graylog-server
|
||||
ROOT_PASSWORD=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c16)
|
||||
cat <<EOF >~/graylog.creds
|
||||
${APPLICATION} Credentials
|
||||
|
||||
Reference in New Issue
Block a user