dh7 needs --with config-package
[invirt/packages/invirt-web.git] / debian / invirt-web.init
1 #!/bin/bash
2 ### BEGIN INIT INFO
3 # Provides:          invirt-web
4 # Required-Start:    $local_fs $remote_fs
5 # Required-Stop:     $local_fs $remote_fs
6 # Default-Start:     2 3 4 5
7 # Default-Stop:      0 1 6
8 # Short-Description: Invirt web server
9 # Description:
10 ### END INIT INFO 
11
12 PACKAGE=invirt-web
13 PARENTPACKAGE=apache2
14 GEN_FILES=(/etc/apache2/sites-available/{default,ssl} /etc/invirt-iptables/rules.d/50-invirt-web)
15
16 . /lib/init/config-init.sh
17 config_init "$1"