mirror of
https://github.com/YunoHost-Apps/diaspora_ynh.git
synced 2024-09-03 18:26:13 +02:00
linter
This commit is contained in:
parent
c017b16390
commit
d2a3fa7f6b
1 changed files with 1 additions and 9 deletions
|
@ -41,8 +41,6 @@ db_user=$db_name
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Validating restoration parameters..."
|
ynh_script_progression --message="Validating restoration parameters..."
|
||||||
|
|
||||||
ynh_webpath_available --domain=$domain --path_url=/ \
|
|
||||||
|| ynh_die --message="Domain not available: ${domain}"
|
|
||||||
test ! -d $final_path \
|
test ! -d $final_path \
|
||||||
|| ynh_die --message="There is already a directory: $final_path "
|
|| ynh_die --message="There is already a directory: $final_path "
|
||||||
can_remove_home=1
|
can_remove_home=1
|
||||||
|
@ -136,17 +134,11 @@ source ./create_services
|
||||||
# ADVERTISE SERVICE IN ADMIN PANEL
|
# ADVERTISE SERVICE IN ADMIN PANEL
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
yunohost service add $app.target\
|
yunohost service add $app.target \
|
||||||
--log $final_path/diaspora/log/production.log \
|
--log $final_path/diaspora/log/production.log \
|
||||||
$final_path/diaspora/log/unicorn-stderr.log\
|
$final_path/diaspora/log/unicorn-stderr.log\
|
||||||
$final_path/diaspora/log/unicorn-stdout.log\
|
$final_path/diaspora/log/unicorn-stdout.log\
|
||||||
$final_path/diaspora/log/sidekiq.log\
|
$final_path/diaspora/log/sidekiq.log\
|
||||||
--description "Diaspora service (unicorn web and sidekiq)"
|
--description "Diaspora service (unicorn web and sidekiq)"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# SETUP SSOWAT
|
|
||||||
#=================================================
|
|
||||||
# unprotected_uris allows SSO credentials to be passed anyway.
|
|
||||||
ynh_app_setting_set $app unprotected_uris "/"
|
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in a new issue