Permalink
Browse files

Added upstart config for Ubuntu systems

fwknop can be easily managed with upstart with the addition of this config.
Here is an example:

 # service fwknop start
 fwknop start/running, process 4269
  • Loading branch information...
1 parent 91e7b21 commit f7472bec0fd6c270d1dd9e08bdc9f9188c8a5f84 @mrash committed Sep 28, 2012
Showing with 22 additions and 3 deletions.
  1. +1 −0 Makefile.am
  2. +15 −0 extras/upstart/fwknop.conf
  3. +6 −3 todo.org
View
@@ -52,6 +52,7 @@ EXTRA_DIST = \
ChangeLog.git \
CREDITS \
todo.org \
+ extras/upstart/fwknop.conf \
extras/fwknop.init.debian \
extras/fwknop.init.openwrt \
extras/fwknop.init.redhat \
View
@@ -0,0 +1,15 @@
+# fwknopd - Single Packet Authorization daemon
+#
+# The fwknopd daemon provides a Single Packet Authorization layer to services
+# such as SSHD.
+
+description "fwknopd daemon"
+
+start on filesystem or runlevel [2345]
+stop on runlevel [!2345]
+
+respawn
+respawn limit 10 5
+umask 022
+
+exec /usr/sbin/fwknopd -f
View
@@ -2,6 +2,12 @@
This is the main todo org mode file for the fwknop project
** COMPLETED
This bucket is for completed tasks.
+*** [server] For Ubuntu systems, have fwknopd managed by upstart
+ :CLOSED: <2012-09-27 Thu>
+ fwknopd can benefit from upstart management and monitoring on Ubuntu
+ systems.
+ - Added the extras/upstart/fwknop.conf file so that standard upstart
+ commands like "service fwknop start" can be issued.
*** [server] ipfw active/expire sets cannot be the same
:CLOSED: <2012-08-16 Thu>
Add a check to ensure that active and expire sets are not the same value in
@@ -36,9 +42,6 @@
page.
** Use assert() in various places
Use assert() to validate expected values wherever possible.
-** [server] For Ubuntu systems, have fwknopd managed by upstart
- fwknopd can benefit from upstart management and monitoring on Ubuntu
- systems.
** [server] Include files for access.conf
Hank Leininger suggested that the main access.conf file have an option to
include other files in which access stanzas can be specified. This makes

0 comments on commit f7472be

Please sign in to comment.