mirror of
https://github.com/YunoHost-Apps/shiori_ynh.git
synced 2024-09-03 20:26:17 +02:00
fix
This commit is contained in:
parent
36852a684e
commit
fc9fd62239
3 changed files with 8 additions and 8 deletions
|
@ -8,7 +8,7 @@ Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__FINALPATH__/
|
WorkingDirectory=__FINALPATH__/
|
||||||
ExecStart=__FINALPATH__/shiori migrate serve --port __PORT__ --webroot __PATH__
|
ExecStart=__FINALPATH__/shiori serve --port __PORT__ --webroot __PATH__
|
||||||
Restart=always
|
Restart=always
|
||||||
Environment="SHIORI_DIR=__DATADIR__"
|
Environment="SHIORI_DIR=__DATADIR__"
|
||||||
|
|
||||||
|
|
|
@ -103,11 +103,11 @@ chown -R $app:www-data "$datadir"
|
||||||
#=================================================
|
#=================================================
|
||||||
# MIGRATE DATABASE
|
# MIGRATE DATABASE
|
||||||
#=================================================
|
#=================================================
|
||||||
# ynh_script_progression --message="Migrate database..." --weight=10
|
ynh_script_progression --message="Migrate database..." --weight=10
|
||||||
|
|
||||||
# pushd $final_path
|
pushd $final_path
|
||||||
# ./shiori migrate
|
./shiori migrate
|
||||||
# popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SYSTEMD
|
# SETUP SYSTEMD
|
||||||
|
|
|
@ -81,9 +81,9 @@ chmod +x "$final_path/shiori"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Migrate database..." --weight=10
|
ynh_script_progression --message="Migrate database..." --weight=10
|
||||||
|
|
||||||
# pushd $final_path
|
pushd $final_path
|
||||||
# ./shiori migrate
|
./shiori migrate
|
||||||
# popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
|
Loading…
Add table
Reference in a new issue