mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Cosmetic changes for the shutdown procedure.
* Pass the -s option to pg_ctl, to avoid clobbering the display. It will show error messages only. * Echo the port name after shutdown. No functional changes, no PORTREVISION.
This commit is contained in:
parent
5f3686bcbc
commit
785d876b22
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42166
@ -18,7 +18,8 @@ start)
|
||||
|
||||
stop)
|
||||
[ -x ${PGBIN}/pg_ctl ] && {
|
||||
exec su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -m fast'
|
||||
su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -s -m fast'
|
||||
echo -n ' pgsql'
|
||||
}
|
||||
;;
|
||||
|
||||
|
@ -18,7 +18,8 @@ start)
|
||||
|
||||
stop)
|
||||
[ -x ${PGBIN}/pg_ctl ] && {
|
||||
exec su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -m fast'
|
||||
su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -s -m fast'
|
||||
echo -n ' pgsql'
|
||||
}
|
||||
;;
|
||||
|
||||
|
@ -18,7 +18,8 @@ start)
|
||||
|
||||
stop)
|
||||
[ -x ${PGBIN}/pg_ctl ] && {
|
||||
exec su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -m fast'
|
||||
su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -s -m fast'
|
||||
echo -n ' pgsql'
|
||||
}
|
||||
;;
|
||||
|
||||
|
@ -18,7 +18,8 @@ start)
|
||||
|
||||
stop)
|
||||
[ -x ${PGBIN}/pg_ctl ] && {
|
||||
exec su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -m fast'
|
||||
su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -s -m fast'
|
||||
echo -n ' pgsql'
|
||||
}
|
||||
;;
|
||||
|
||||
|
@ -18,7 +18,8 @@ start)
|
||||
|
||||
stop)
|
||||
[ -x ${PGBIN}/pg_ctl ] && {
|
||||
exec su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -m fast'
|
||||
su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -s -m fast'
|
||||
echo -n ' pgsql'
|
||||
}
|
||||
;;
|
||||
|
||||
|
@ -18,7 +18,8 @@ start)
|
||||
|
||||
stop)
|
||||
[ -x ${PGBIN}/pg_ctl ] && {
|
||||
exec su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -m fast'
|
||||
su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -s -m fast'
|
||||
echo -n ' pgsql'
|
||||
}
|
||||
;;
|
||||
|
||||
|
@ -18,7 +18,8 @@ start)
|
||||
|
||||
stop)
|
||||
[ -x ${PGBIN}/pg_ctl ] && {
|
||||
exec su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -m fast'
|
||||
su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -s -m fast'
|
||||
echo -n ' pgsql'
|
||||
}
|
||||
;;
|
||||
|
||||
|
@ -18,7 +18,8 @@ start)
|
||||
|
||||
stop)
|
||||
[ -x ${PGBIN}/pg_ctl ] && {
|
||||
exec su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -m fast'
|
||||
su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -s -m fast'
|
||||
echo -n ' pgsql'
|
||||
}
|
||||
;;
|
||||
|
||||
|
@ -18,7 +18,8 @@ start)
|
||||
|
||||
stop)
|
||||
[ -x ${PGBIN}/pg_ctl ] && {
|
||||
exec su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -m fast'
|
||||
su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -s -m fast'
|
||||
echo -n ' pgsql'
|
||||
}
|
||||
;;
|
||||
|
||||
|
@ -18,7 +18,8 @@ start)
|
||||
|
||||
stop)
|
||||
[ -x ${PGBIN}/pg_ctl ] && {
|
||||
exec su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -m fast'
|
||||
su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -s -m fast'
|
||||
echo -n ' pgsql'
|
||||
}
|
||||
;;
|
||||
|
||||
|
@ -18,7 +18,8 @@ start)
|
||||
|
||||
stop)
|
||||
[ -x ${PGBIN}/pg_ctl ] && {
|
||||
exec su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -m fast'
|
||||
su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -s -m fast'
|
||||
echo -n ' pgsql'
|
||||
}
|
||||
;;
|
||||
|
||||
|
@ -18,7 +18,8 @@ start)
|
||||
|
||||
stop)
|
||||
[ -x ${PGBIN}/pg_ctl ] && {
|
||||
exec su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -m fast'
|
||||
su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -s -m fast'
|
||||
echo -n ' pgsql'
|
||||
}
|
||||
;;
|
||||
|
||||
|
@ -18,7 +18,8 @@ start)
|
||||
|
||||
stop)
|
||||
[ -x ${PGBIN}/pg_ctl ] && {
|
||||
exec su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -m fast'
|
||||
su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -s -m fast'
|
||||
echo -n ' pgsql'
|
||||
}
|
||||
;;
|
||||
|
||||
|
@ -18,7 +18,8 @@ start)
|
||||
|
||||
stop)
|
||||
[ -x ${PGBIN}/pg_ctl ] && {
|
||||
exec su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -m fast'
|
||||
su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -s -m fast'
|
||||
echo -n ' pgsql'
|
||||
}
|
||||
;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user