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:
parent
c8b78565cb
commit
da2f6efba0
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue