-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #233 from turb/master
Support systemd on Debian
- Loading branch information
Showing
5 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Bamboo default parameters | ||
BAMBOO_CONFIG=/opt/bamboo/config/development.json | ||
BAMBOO_LOG=/var/bamboo/log/bamboo.log | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[Unit] | ||
Description=MESOS Marathon Bamboo | ||
Requires=network-online.target | ||
|
||
[Install] | ||
WantedBy=multi-user.target | ||
|
||
[Service] | ||
EnvironmentFile=/etc/default/bamboo | ||
Type=simple | ||
Restart=on-failure | ||
RestartSec=15s | ||
TimeoutSec=5min | ||
IgnoreSIGPIPE=no | ||
KillMode=process | ||
PIDFile=/run/bamboo.pid | ||
RemainAfterExit=no | ||
User=bamboo | ||
Group=bamboo | ||
ExecStart=/opt/bamboo/bamboo -config $BAMBOO_CONFIG -log $BAMBOO_LOG | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters