~cmars/hockeypuck/master

« back to all changes in this revision

Viewing changes to instroot/etc/init/hockeypuck-mgo.conf

  • Committer: Casey Marshall
  • Date: 2012-12-04 03:22:21 UTC
  • Revision ID: git-v1:bd158e13017b27f98633caf2b10918c5e623543b
* === added directory instroot, ... scripts/crossbuild.sh:
  - Relocate static system installed files to instroot.
  - Added cross-compilation script. LP: #1086192

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# hockeypuck - ubuntu upstart file
 
2
 
 
3
description "Hockeypuck (MongoDB) OpenPGP Key Server"
 
4
author "casey.marshall <casey.marshall@gmail.com>"
 
5
 
 
6
start on (runlevel [2345] and started mongodb)
 
7
stop on (runlevel [016] or stopping mongodb)
 
8
 
 
9
# Automatically restart process if crashed
 
10
respawn
 
11
 
 
12
setuid hockeypuck
 
13
 
 
14
# Start the process
 
15
exec /usr/bin/hockeypuck-mgo