diff options
-rwxr-xr-x | debian/rules | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | ec2-init (renamed from debian/init) | 0 | ||||
-rwxr-xr-x | setup.py | 3 |
3 files changed, 3 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index b81e3ff3..bb5f10b4 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,7 @@ DEB_PYTHON_SYSTEM=pycentral include /usr/share/cdbs/1/class/python-distutils.mk include /usr/share/cdbs/1/rules/debhelper.mk +DEB_DH_INSTALLINIT_ARGS=-o DEB_UPDATE_RCD_PARAMS:= start 15 2 3 4 5 . stop 20 1 . diff --git a/debian/init b/ec2-init index b2995b79..b2995b79 100644..100755 --- a/debian/init +++ b/ec2-init @@ -36,5 +36,6 @@ setup(name='EC2-init', 'ec2-set-hostname.py', 'ec2-wait-for-meta-data-service.py'], data_files=[('/etc/ec2-init', ['debian/ec2-config.cfg']), - ('/etc/ec2-init/templates', glob('templates/*'))], + ('/etc/ec2-init/templates', glob('templates/*')), + ('/etc/init.d', ['ec2-init'])], ) |