mirror of
https://github.com/YunoHost-Apps/mopidy_ynh.git
synced 2024-09-03 19:46:21 +02:00
Correction de bugs
This commit is contained in:
parent
3217cf0603
commit
f446fb9129
3 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
location __PATHTOCHANGE__ {
|
||||
alias __FINALPATH__/;
|
||||
index index.html
|
||||
# index index.html
|
||||
|
||||
rewrite ^ $scheme://__DOMAINNAME__:6680/musicbox_webclient permanent;
|
||||
|
||||
|
|
|
@ -87,6 +87,7 @@ sudo sed -i "s@__DOMAINNAME__@$domain@g" /etc/nginx/conf.d/$domain.d/$app.conf
|
|||
sudo sed -i "s@__FINALPATH__@$final_path@g" /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
|
||||
sudo cp ../conf/index.html $final_path
|
||||
sudo sed -i "s@__DOMAINNAME__@$domain@g" /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
|
||||
# Copy config mopidy
|
||||
sudo cp ../conf/mopidy.conf /usr/share/mopidy/conf.d/
|
||||
|
|
|
@ -29,6 +29,7 @@ fi
|
|||
if [ -d "/root/.local/share/$app" ]; then
|
||||
SECURE_REMOVE '/root/.local/share/$app'
|
||||
fi
|
||||
|
||||
SECURE_REMOVE '/usr/local/bin/$app'
|
||||
SECURE_REMOVE '/usr/share/$app'
|
||||
SECURE_REMOVE '/var/lib/$app'
|
||||
|
|
Loading…
Add table
Reference in a new issue