-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add upstart support and bump debian version
- Loading branch information
1 parent
8357b65
commit 5987787
Showing
7 changed files
with
43 additions
and
27 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
description "cassandra-reaper process" | ||
author "Bases <[email protected]>" | ||
|
||
start on runlevel [2345] | ||
stop on runlevel [!2345] | ||
|
||
kill signal SIGKILL | ||
|
||
respawn | ||
# respawn unlimited, but uncomment following to get 15 retries with 5 sec sleep | ||
# respawn limit 15 5 | ||
|
||
# Timeout is set to 5s | ||
kill timeout 5 | ||
|
||
env TZ=universal | ||
|
||
script | ||
exec /usr/bin/cassandra-reaper | ||
end script | ||
|
||
# prevent respawning more than once every 5 seconds | ||
post-stop exec sleep 5 |
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 |
---|---|---|
@@ -1,3 +1,10 @@ | ||
cassandra-reaper (0.0.2-1) unstable; urgency=low | ||
|
||
* Initial working version | ||
* Changed to use Upstart instead of Supervision | ||
|
||
-- Hannu Varjoranta <[email protected]> Thu, 8 Jan 2015 15:24:13 +0100 | ||
|
||
cassandra-reaper (0.0.1-1) unstable; urgency=low | ||
|
||
* Initial build | ||
|
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