mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
DCD-386: Add service file.
This commit is contained in:
14
roles/bitbucket_config/templates/bitbucket.service.j2
Normal file
14
roles/bitbucket_config/templates/bitbucket.service.j2
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Atlassian Bitbucket
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
User={{ atl_product_user }}
|
||||
Group={{ atl_product_user }}
|
||||
|
||||
Environment=BITBUCKET_HOME={{ atl_product_home_shared }}
|
||||
ExecStart={{ atl_product_installation_current }}/bin/start-bitbucket.sh -fg
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-target.target
|
||||
Reference in New Issue
Block a user