mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
DCD-386: Convert Bitbucket startup to new general systemd role.
This commit is contained in:
@@ -14,14 +14,3 @@
|
||||
group: "root"
|
||||
mode: "u=rwX,g=rX,o=rX"
|
||||
recurse: true
|
||||
|
||||
- name: "Install Bitbucket service file"
|
||||
template:
|
||||
src: "bitbucket.service.j2"
|
||||
dest: "/etc/systemd/system/bitbucket.service"
|
||||
|
||||
- name: Enable Bitbucket
|
||||
service:
|
||||
name: bitbucket.service
|
||||
enabled: true
|
||||
state: started
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
[Unit]
|
||||
Description=Atlassian Bitbucket
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
User={{ atl_product_user }}
|
||||
Group={{ atl_product_user }}
|
||||
UMask=0027
|
||||
LimitNOFILE=4096
|
||||
Environment=BITBUCKET_HOME={{ atl_product_home_shared }}
|
||||
|
||||
ExecStart={{ atl_product_installation_current }}/bin/start-bitbucket.sh -fg --no-search
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-target.target
|
||||
Reference in New Issue
Block a user