~upstart-devel/upstart/upstart-jobs

« back to all changes in this revision

Viewing changes to vivid/etc/init/fwknop-server.conf

  • Committer: Dimitri John Ledkov
  • Date: 2014-11-19 12:58:41 UTC
  • Revision ID: dimitri.j.ledkov@intel.com-20141119125841-98dr37roy8dvcv3b
auto update

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# fwknopd - Single Packet Authorization daemon
 
2
#
 
3
# The fwknopd daemon provides a Single Packet Authorization layer to services
 
4
# such as SSHD.
 
5
 
 
6
description     "fwknopd daemon"
 
7
 
 
8
start on (local-filesystems and net-device-up IFACE!=lo)
 
9
stop on runlevel [!2345]
 
10
 
 
11
respawn
 
12
respawn limit 10 5
 
13
umask 022
 
14
 
 
15
### uncomment the post-start lines below if you want email notifications
 
16
### whenever fwknopd is (re)started - be sure to edit the EMAIL_ADDR variable
 
17
# post-start script
 
18
#     HOST=`hostname`
 
19
#     EMAIL_ADDR=you@domain.com
 
20
#     mail -s "Starting fwknop on $HOST" $EMAIL_ADDR < /dev/null > /dev/null 2>&1
 
21
# end script
 
22
 
 
23
expect fork
 
24
 
 
25
exec /usr/sbin/fwknopd