diff options
author | Micah Anderson <micah@riseup.net> | 2013-07-18 15:18:18 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-07-18 15:47:56 -0400 |
commit | a8bb868c9217b3933695da348991577502b22df7 (patch) | |
tree | d493d5dc45fd8805c7737a2921863b126277efef | |
parent | c14940b81650bd78db39952be5f63fadeec9edbf (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.py | 4 |
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 @@ -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", |