diff --git a/bootstrap.sh b/bootstrap.sh index 5edec48fb..97a450da7 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -12,7 +12,7 @@ set -eo pipefail # That's good because it prevents our output overlapping with wget's. # It also means that we can't run a partially downloaded script. -SUPPORTED_VERSIONS="Debian [9, 10], CentOS [7], Ubuntu [16.04, 18.04, 20.04]" +SUPPORTED_VERSIONS="Debian [9, 10], CentOS [7], Fedora (partial) [33, 34], Ubuntu [16.04, 18.04, 20.04]" log-fail() { declare desc="log fail formatter" @@ -131,7 +131,7 @@ install-dokku-from-package() { debian | ubuntu) install-dokku-from-deb-package "$@" ;; - centos | rhel) + centos | fedora | rhel) install-dokku-from-rpm-package "$@" ;; *) diff --git a/plugins/20_events/install b/plugins/20_events/install index 22fefc8df..afcff54fc 100755 --- a/plugins/20_events/install +++ b/plugins/20_events/install @@ -17,7 +17,7 @@ trigger-events-install() { # shellcheck disable=SC2174 mkdir -m 775 -p "$DOKKU_LOGS_DIR" case "$DOKKU_DISTRO" in - arch | debian | centos | rhel) + arch | debian | centos | fedora | rhel) chgrp dokku "$DOKKU_LOGS_DIR" ;; *) @@ -28,7 +28,7 @@ trigger-events-install() { if [[ ! -f "$DOKKU_EVENTS_LOGFILE" ]]; then touch "$DOKKU_EVENTS_LOGFILE" case "$DOKKU_DISTRO" in - arch | debian | centos | rhel) + arch | debian | centos | fedora | rhel) chgrp dokku "$DOKKU_EVENTS_LOGFILE" ;; *) diff --git a/plugins/nginx-vhosts/install b/plugins/nginx-vhosts/install index 9b7ef6d79..3c3570503 100755 --- a/plugins/nginx-vhosts/install +++ b/plugins/nginx-vhosts/install @@ -45,7 +45,7 @@ trigger-nginx-vhosts-install() { echo "%dokku ALL=(ALL) NOPASSWD:/usr/bin/systemctl reload $NGINX_INIT_NAME, $NGINX_BIN -t, $NGINX_BIN -t -c *" >"$NGINX_SUDOERS_FILE" ;; - centos | rhel) + centos | fedora | rhel) echo "%dokku ALL=(ALL) NOPASSWD:/usr/bin/systemctl reload $NGINX_INIT_NAME, $NGINX_BIN -t, $NGINX_BIN -t -c *" >"$NGINX_SUDOERS_FILE" echo "Defaults:dokku !requiretty" >>"$NGINX_SUDOERS_FILE" ;; diff --git a/plugins/nginx-vhosts/internal-functions b/plugins/nginx-vhosts/internal-functions index 91e7ea528..f375a368e 100755 --- a/plugins/nginx-vhosts/internal-functions +++ b/plugins/nginx-vhosts/internal-functions @@ -119,7 +119,7 @@ fn-nginx-vhosts-nginx-init-cmd() { sudo /sbin/service "$NGINX_INIT_NAME" "$CMD" ;; - arch | centos | rhel) + arch | centos | fedora | rhel) sudo /usr/bin/systemctl "$CMD" "$NGINX_INIT_NAME" ;; esac