1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jenkins_ynh.git synced 2024-09-03 19:26:18 +02:00

Update upgrade

This commit is contained in:
Développeur égaré 2015-02-27 15:23:42 +01:00
parent d6e6ba1e91
commit 28845adbd8

View file

@ -7,7 +7,7 @@ path=${path%/}
is_public=$(sudo yunohost app setting jenkins is_public)
port=$(sudo yunohost app setting jenkins port)
sudo sed -i "/HTTP_PORT=.*/aHTTP_PORT=$port" /etc/default/jenkins
sudo sed -i "s/HTTP_PORT=.*/HTTP_PORT=$port/g" /etc/default/jenkins
sed -i "s@YNH_LOCATION@$path@g" ../conf/nginx.conf
sed -i "s@YNH_PORT@$port@g" ../conf/nginx.conf