mirror of
https://github.com/YunoHost-Apps/lutim_ynh.git
synced 2024-09-03 19:36:24 +02:00
Update install
This commit is contained in:
parent
449c83c3f3
commit
94ac4670d0
1 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ sudo apt-get install perlmagick -qy
|
|||
## Copie et configuration du fichier de conf.
|
||||
sudo cp ../conf/lutim.conf.template "$final_path/lutim.conf"
|
||||
sudo sed -i "s@__DOMAIN__@$domain@g" "$final_path/lutim.conf"
|
||||
sudo sed -i "s@__PATH__@$pathRslash@g" "$final_path/lutim.conf"
|
||||
sudo sed -i "s@__PATH__@$path@g" "$final_path/lutim.conf"
|
||||
sudo sed -i "s@__PORT__@$port@g" "$final_path/lutim.conf"
|
||||
if [ "$always_encrypt" = "No" ]; then
|
||||
always_encrypt=0
|
||||
|
@ -105,7 +105,7 @@ sudo update-rc.d lutim defaults
|
|||
# sudo update-rc.d -f lutim remove
|
||||
|
||||
# Change variables in nginx configuration
|
||||
sudo sed -i "s@__PATH__@$pathRslash@g" /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
sudo sed -i "s@__PATH__@$path@g" /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
sudo sed -i "s@__PORT__@$port@g" /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
|
||||
# Make app public or private
|
||||
|
|
Loading…
Reference in a new issue