Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
e58775ee
Commit
e58775ee
authored
Feb 08, 2001
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UPdate file from Patrick.
parent
27ed8ac2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
contrib/init.d/postgresql
contrib/init.d/postgresql
+4
-4
No files found.
contrib/init.d/postgresql
View file @
e58775ee
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
# please send them to me.
# please send them to me.
# Arguements for pg_ctl and then for the postmaster. Change as needed.
# Arguements for pg_ctl and then for the postmaster. Change as needed.
ARGS
=
"-w -D /
home/postgres
/data"
ARGS
=
"-w -D /
usr/local/pgsql
/data"
PM_ARGS
=
"-i -F"
PM_ARGS
=
"-i -F"
# Changes should not be needed beyond this point.
# Changes should not be needed beyond this point.
...
@@ -39,13 +39,13 @@ case "$1" in
...
@@ -39,13 +39,13 @@ case "$1" in
start
)
start
)
# Start the postmaster using pg_ctl and given options.
# Start the postmaster using pg_ctl and given options.
echo
-n
"Starting
$DESC
: "
echo
-n
"Starting
$DESC
: "
su - postgres sh
-c
"
$DAEMON
start
$ARGS
-o
\"
$PM_ARGS
\"
$LOG
2>&1"
su - postgres sh
-c
"
$DAEMON
start
$ARGS
-o
\"
$PM_ARGS
\"
>
$LOG
2>&1"
echo
"
$NAME
."
echo
"
$NAME
."
;;
;;
stop
)
stop
)
# Stop the postmaster using pg_ctl.
# Stop the postmaster using pg_ctl.
echo
-n
"Stopping
$DESC
: "
echo
-n
"Stopping
$DESC
: "
su - postgres sh
-c
"
$DAEMON
stop > /dev/null 2>&1"
su - postgres sh
-c
"
$DAEMON
stop > /dev/null 2>&1"
echo
"
$NAME
."
echo
"
$NAME
."
;;
;;
restart
)
restart
)
...
@@ -61,7 +61,7 @@ case "$1" in
...
@@ -61,7 +61,7 @@ case "$1" in
*
)
*
)
# Print help.
# Print help.
N
=
/etc/init.d/
$FILE
N
=
/etc/init.d/
$FILE
echo
"Usage:
$N
{start|stop|restart|status}"
1
>&2
echo
"Usage:
$N
{start|stop|restart|status}"
>
&2
exit
1
exit
1
;;
;;
esac
esac
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment