mirror of
https://github.com/dokku/dokku.git
synced 2026-02-24 04:00:36 +01:00
I have done the first steps to get dokku running for other distros like openSUSE. I have simply replaced the important places within the core plugins with a check for DOKKU_DISTRO that gets exported by dokku itself. It just replaces the apt-get and service start/restart/reload functionality with the openSUSE counterparts.
13 lines
228 B
Bash
Executable File
13 lines
228 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|
|
|
case "$DOKKU_DISTRO" in
|
|
ubuntu)
|
|
sudo /etc/init.d/nginx reload > /dev/null
|
|
;;
|
|
|
|
opensuse)
|
|
sudo /sbin/service nginx reload > /dev/null
|
|
;;
|
|
esac
|