mirror of
https://github.com/postgres/postgres.git
synced 2025-07-23 03:21:12 +03:00
Modify freebsd start script to just exit 0 with message.
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
# Created through merger of the Linux start script by Ryan Kirkpatrick
|
# Created through merger of the Linux start script by Ryan Kirkpatrick
|
||||||
# and the script in the FreeBSD ports collection.
|
# and the script in the FreeBSD ports collection.
|
||||||
|
|
||||||
# $PostgreSQL: pgsql/contrib/start-scripts/freebsd,v 1.6 2010/02/23 22:15:35 momjian Exp $
|
# $PostgreSQL: pgsql/contrib/start-scripts/freebsd,v 1.7 2010/02/23 22:17:25 momjian Exp $
|
||||||
|
|
||||||
## EDIT FROM HERE
|
## EDIT FROM HERE
|
||||||
|
|
||||||
@ -39,10 +39,7 @@ PGCTL="$prefix/bin/pg_ctl"
|
|||||||
test -x $DAEMON ||
|
test -x $DAEMON ||
|
||||||
{
|
{
|
||||||
echo "$DAEMON not found"
|
echo "$DAEMON not found"
|
||||||
if [ "$1" = "stop" ]
|
exit 0
|
||||||
then exit 0
|
|
||||||
else exit 5
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
|
Reference in New Issue
Block a user