Add install.sh

Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
This commit is contained in:
George Kaklamanos 2025-02-12 22:19:01 +02:00
parent bd0662a37f
commit 9cc47da892
No known key found for this signature in database
GPG key ID: C0CAB8A6BDC9399D

6
install.sh Normal file
View file

@ -0,0 +1,6 @@
#!/bin/sh
DOMAIN="$1.gkaklas.gr"
APP="$1"
yunohost domain add "${DOMAIN}" --install-letsencrypt-cert
yunohost app install -a "domain=${DOMAIN}&path=/&init_main_permission=admins" "${APP}"