Logo
Explore Help
Register Sign In
Mirrors/dokku
1
0
Fork 0
You've already forked dokku
mirror of https://github.com/dokku/dokku.git synced 2026-02-24 04:00:36 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
a284a805e07e8fe51ec574da170d6cd349b111eb
dokku/plugins/nginx-vhosts/post-delete

13 lines
228 B
Plaintext
Raw Normal View History

normalizing shebang and bash options. also added long-term fix for bootstrap instructions
2013-10-29 17:13:02 -05:00
#!/usr/bin/env bash
Enable tracing in hooks when DOKKU_TRACE is set. This makes it much easier to debug plugins. Also source the 'dokkurc' file when starting dokku. This makes it easy to define DOKKU_TRACE over ssh.
2013-11-18 19:38:16 +00:00
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
Ensure there is a newline after calling `set -e`
2014-11-16 02:54:54 -05:00
Added openSUSE support 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.
2014-11-13 17:37:26 +01:00
case "$DOKKU_DISTRO" in
ubuntu)
sudo /etc/init.d/nginx reload > /dev/null
;;
opensuse)
sudo /sbin/service nginx reload > /dev/null
;;
esac
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 37ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API