1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rainloop_ynh.git synced 2024-09-03 20:16:18 +02:00

Add bin/bash

This commit is contained in:
scith 2016-07-26 22:51:05 +02:00
parent 739e5745a1
commit 01f5124852
5 changed files with 9 additions and 5 deletions

View file

@ -11,7 +11,7 @@
"maintainer": {
"name": "scith, Djip007"
},
"multi_instance": "false",
"multi_instance": false,
"services": [
"nginx",
"php5-fpm",

View file

@ -1,3 +1,5 @@
#!/bin/bash
# Exit on command errors and treat unset variables as an error
set -eu
app=$YNH_APP_INSTANCE_NAME

View file

@ -1,3 +1,5 @@
#!/bin/bash
# Exit on command errors and treat unset variables as an error
set -eu
app=$YNH_APP_INSTANCE_NAME

View file

@ -6,16 +6,14 @@ set -eu
# Get multi-instances specific variables
app=$YNH_APP_INSTANCE_NAME
# Set app specific variables
dbname=$app
dbuser=$app
# Source app helpers
. /usr/share/yunohost/helpers
# Retrieve old app settings
domain=$(ynh_app_setting_get "$app" domain)
path=$(ynh_app_setting_get "$app" path)
dbname=$app
dbuser=$app
dbpass=$(ynh_app_setting_get "$app" mysqlpwd)
# Check domain/path availability

View file

@ -1,3 +1,5 @@
#!/bin/bash
# Exit on command errors and treat unset variables as an error
set -eu
app=$YNH_APP_INSTANCE_NAME