Adds support for ArchLinux as host OS
* fix rsyslog handling * don't hardcode dokku path * add documentation for ArchLinux package build * add vagrant machine to run the ArchLinux specific steps * add step in release process for ArchLinux * enhance docs for easy ArchLinux steps
This commit is contained in:
@@ -25,4 +25,8 @@ case "$DOKKU_DISTRO" in
|
||||
opensuse)
|
||||
zypper -q in -y nginx bind-utils
|
||||
;;
|
||||
|
||||
arch)
|
||||
pacman -S --noconfirm --noprogressbar --needed nginx bind-tools
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -32,6 +32,10 @@ restart_nginx() {
|
||||
opensuse)
|
||||
sudo /sbin/service nginx reload > /dev/null
|
||||
;;
|
||||
|
||||
arch)
|
||||
sudo /usr/bin/systemctl reload nginx
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,10 @@ case "$DOKKU_DISTRO" in
|
||||
opensuse)
|
||||
echo "%dokku ALL=(ALL) NOPASSWD:/sbin/service nginx reload, /usr/sbin/nginx -t" > /etc/sudoers.d/dokku-nginx
|
||||
;;
|
||||
|
||||
arch)
|
||||
echo "%dokku ALL=(ALL) NOPASSWD:/usr/bin/systemctl reload nginx, /usr/sbin/nginx -t" > /etc/sudoers.d/dokku-nginx
|
||||
;;
|
||||
esac
|
||||
|
||||
chmod 0440 /etc/sudoers.d/dokku-nginx
|
||||
@@ -57,4 +61,8 @@ case "$DOKKU_DISTRO" in
|
||||
opensuse)
|
||||
/sbin/service nginx start
|
||||
;;
|
||||
|
||||
arch)
|
||||
/usr/bin/systemctl start nginx
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -14,4 +14,8 @@ case "$DOKKU_DISTRO" in
|
||||
opensuse)
|
||||
sudo /sbin/service nginx reload > /dev/null
|
||||
;;
|
||||
|
||||
arch)
|
||||
sudo /usr/bin/systemctl reload nginx
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user