mirror of
https://github.com/YunoHost-Apps/jenkins_ynh.git
synced 2024-09-03 19:26:18 +02:00
[enh] set prefix
This commit is contained in:
parent
929d05713c
commit
558bfc6da0
1 changed files with 8 additions and 1 deletions
|
@ -26,7 +26,14 @@ EOF
|
|||
|
||||
sudo apt-get update
|
||||
sudo apt-get install jenkins -y
|
||||
sudo service jenkins start
|
||||
|
||||
if [[ "$path" != "/" ]];
|
||||
then
|
||||
# $ means 'process only the last line'
|
||||
sudo sed -i '$ s@--ajp13Port=$AJP_PORT@--ajp13Port=$AJP_PORT --prefix=$PREFIX@g' /etc/default/jenkins
|
||||
fi
|
||||
|
||||
sudo service jenkins restart
|
||||
|
||||
sudo yunohost service add jenkins -l /var/log/jenkins/jenkins.log
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue