Skip to content

Commit

Permalink
added restheartd.conf to etc folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Maurizio Turatti committed Dec 17, 2014
1 parent 64f0098 commit 1df25ca
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<include>NOTICE*</include>
<include>etc/restheart.yml</include>
<include>etc/security.yml</include>
<include>etc/restheartd.conf</include>
</includes>
</fileSet>
<fileSet>
Expand Down
10 changes: 10 additions & 0 deletions etc/restheartd.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
description "restheart deamon - REST interface for mongodb"
author "Andrea Di Cesare <[email protected]>"

start on runlevel [2345]
stop on runlevel [!2345]

script
exec java -server -jar /vagrant/restheart-0.9.3/restheart.jar /vagrant/restheart-0.9.3/etc/restheart.yml
end script

0 comments on commit 1df25ca

Please sign in to comment.