- Timestamp:
- Nov 22, 2008, 5:45:43 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-console-server/debian/invirt-console-server.init
r1742 r1747 23 23 PIDFILE=/var/run/$NAME.pid 24 24 SCRIPTNAME=/etc/init.d/$NAME 25 GEN_FILES=(/etc/conserver/invirt-hosts.cf 26 /etc/remctl/acl/invirt-console-server 27 /etc/issue.net.no_tkt 28 /etc/nss-pgsql.conf) 25 29 26 30 # Exit if the package is not installed 27 31 [ -x "$DAEMON" ] || exit 0 28 32 33 . /lib/init/gen-files.sh 29 34 . /lib/init/std-init.sh 30 31 gen_config()32 {33 for i in /etc/conserver/invirt-hosts.cf \34 /etc/remctl/acl/invirt-console-server \35 /etc/issue.net.no_tkt \36 /etc/nss-pgsql.conf \37 ; do38 mako-render $i.mako > $i39 done40 }41 35 42 36 # … … 57 51 fi 58 52 59 gen_ config53 gen_files 60 54 61 55 daemon -r -O daemon.info -E daemon.err -n $NAME -- $DAEMON $DAEMON_ARGS || return 2
Note: See TracChangeset
for help on using the changeset viewer.