Last change
on this file since 2395 was
2218,
checked in by broder, 16 years ago
|
Merge invirt-database-server into invirt-database.
I...think this works, but I'm not making any promises.
|
-
Property svn:executable set to
*
|
File size:
890 bytes
|
Rev | Line | |
---|
[1152] | 1 | #! /bin/sh |
---|
| 2 | ### BEGIN INIT INFO |
---|
| 3 | # Provides: postgresql postgresql-8.3 |
---|
| 4 | # Required-Start: $local_fs $remote_fs $network $time |
---|
| 5 | # Required-Stop: $local_fs $remote_fs $network $time |
---|
| 6 | # Should-Start: $syslog |
---|
| 7 | # Should-Stop: $syslog |
---|
| 8 | # Default-Start: 2 3 4 5 |
---|
| 9 | # Default-Stop: 0 1 6 |
---|
| 10 | # Short-Description: PostgreSQL 8.3 RDBMS server |
---|
| 11 | # Description: This script proxies requests to the default postgresql-8.3, |
---|
| 12 | # except for restart, which it translates to a stop request, |
---|
| 13 | # and then a start request, so that PostgreSQL is shut down |
---|
| 14 | # with a fast shutdown |
---|
| 15 | ### END INIT INFO |
---|
| 16 | |
---|
| 17 | case "$1" in |
---|
| 18 | restart) |
---|
| 19 | invoke-rc.d postgresql-8.3.invirt-orig stop |
---|
| 20 | invoke-rc.d postgresql-8.3.invirt-orig start |
---|
| 21 | exit $? |
---|
| 22 | ;; |
---|
| 23 | *) |
---|
| 24 | invoke-rc.d postgresql-8.3.invirt-orig "$1" |
---|
| 25 | exit $? |
---|
| 26 | ;; |
---|
| 27 | esac |
---|
| 28 | |
---|
| 29 | : |
---|
Note: See
TracBrowser
for help on using the repository browser.