1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pelican_ynh.git synced 2024-09-03 19:46:35 +02:00

Update install

This commit is contained in:
Ylies Chahi 2017-07-25 19:45:10 +02:00 committed by GitHub
parent c8b78565cb
commit da2f6efba0

View file

@ -29,7 +29,7 @@ app=$YNH_APP_INSTANCE_NAME
domain=$YNH_APP_ARG_DOMAIN
path=$YNH_APP_ARG_PATH
is_public=$YNH_APP_ARG_IS_PUBLIC
author=$YNH_APP_ARG_AUTHOR
# Check domain/path availability
sudo yunohost app checkurl "${domain}${path}" -a "$app" \
@ -77,3 +77,8 @@ sudo cp ../conf/php-fpm.conf "$phpfpm_conf"
# Reload services
sudo systemctl reload php5-fpm
sudo systemctl reload nginx
# Post-installation
cd $(DESTDIR)/www
printf '\nDefault title\n$(author)\ny\n${domain}\n\n\n\n\n\n\n\n\n\n\n\n' | pelican-quickstart
pelican -s pelicanconf.py