Since there are diverse flavours of Linux distributions out there, Bamboo agent installation does not create a auto-start service automatically during the agent installation.
Using the below mentioned steps you can create a Bamboo auto-start service. Below instructions are tested under CentOS 7, however; they should work for any systemd based Linux systems with minor variations.
Now you can enable and start the service using the usual
Tags: Bamboo, Linux, systemd, auto-start, init-script.
Using the below mentioned steps you can create a Bamboo auto-start service. Below instructions are tested under CentOS 7, however; they should work for any systemd based Linux systems with minor variations.
Creating the Bamboo service
- Login to the Bamboo system console over SSH/directly.
- Switch to super user.
- Create the
bamboo.service
file inside the directory/etc/systemd/system
. Set the proper file permission. - Enter the following command to insert the bamboo.service file contentsNote:Here
buildadmin
is the user who is configured to run the Bamboo. Also ensure that you replace the Bamboo start script location with the actual location where it is installed in your system.
Now you can enable and start the service using the usual
systemctl
commands.systemctl enable bamboo.service
systemctl start bamboo.service
Tags: Bamboo, Linux, systemd, auto-start, init-script.
No comments:
Post a Comment