summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-07-18 15:18:18 -0400
committerMicah Anderson <micah@riseup.net>2013-07-18 15:47:56 -0400
commita8bb868c9217b3933695da348991577502b22df7 (patch)
treed493d5dc45fd8805c7737a2921863b126277efef
parentc14940b81650bd78db39952be5f63fadeec9edbf (diff)
make initscript be installed via the debian packaging tools, add the required missing LSB headers
-rw-r--r--debian/leap-mx.init (renamed from pkg/leap_mx)9
-rw-r--r--setup.py4
2 files changed, 11 insertions, 2 deletions
diff --git a/pkg/leap_mx b/debian/leap-mx.init
index e9a68bb..544230c 100644
--- a/pkg/leap_mx
+++ b/debian/leap-mx.init
@@ -1,4 +1,13 @@
#!/bin/sh
+### BEGIN INIT INFO
+# Provides: leap-mx
+# Required-Start: $network $named $remote_fs $syslog $time
+# Required-Stop: $network $named $remote_fs $syslog
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Start leap-mx daemon at boot time
+# Description: transparently-encrypting remailer
+### END INIT INFO
PATH=/sbin:/bin:/usr/sbin:/usr/bin
diff --git a/setup.py b/setup.py
index d80e7e9..41c29c2 100644
--- a/setup.py
+++ b/setup.py
@@ -44,8 +44,8 @@ else:
# be automatically
# placed by distutils, using whatever interpreter is
# available.
- data_files = [("/usr/share/app/", ["pkg/leap_mx.tac"]),
- ("/etc/init.d/", ["pkg/leap_mx"])]
+ data_files = [("/usr/share/app/", ["pkg/leap_mx.tac"])]
+
setup(
name='leap.mx',
version="0.2.2",