summarylogtreecommitdiffstats
path: root/bitbucket.service
diff options
context:
space:
mode:
authorMax Falk2016-08-14 21:16:12 +0200
committerMax Falk2016-08-14 21:16:12 +0200
commitfde0af89ce401a890dc9d8634f38b1392e6ea278 (patch)
tree52791ab2aa69e90269ec0f672b06c2e05ec5560f /bitbucket.service
downloadaur-fde0af89ce401a890dc9d8634f38b1392e6ea278.tar.gz
initial commit
Diffstat (limited to 'bitbucket.service')
-rw-r--r--bitbucket.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/bitbucket.service b/bitbucket.service
new file mode 100644
index 000000000000..cc91bd5fbab6
--- /dev/null
+++ b/bitbucket.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Bitbucket Server by Atlassian
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/opt/atlassian-bitbucket/bin/start-bitbucket.sh
+ExecStop=/opt/atlassian-bitbucket/bin/stop-bitbucket.sh
+PIDFile=/opt/atlassian-bitbucket/work/catalina.pid
+KillSignal=SIGINT
+LimitNOFILE=8196
+
+[Install]
+WantedBy=multi-user.target
+