mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
I've simplified the Darwin/Mac OS X startup script I submitted earlier
in the year. This version has only the two files required by the Darwin startup bundle design. Plus the sh script now uses Darwin-standard functions to start up PostgreSQL, and it checks for the presence of a variable in /etc/hostconfig, as do other Darwin startup scripts. I suggest that a new directory be created, contrib/start-scripts/darwin, and that these two files be put into it. Folks who want to use the script can read the comments inside it to figure out how to use it. David Wheeler
This commit is contained in:
13
contrib/start-scripts/StartupParameters.plist.darwin
Normal file
13
contrib/start-scripts/StartupParameters.plist.darwin
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
Description = "PostgreSQL Database Server";
|
||||
Provides = ("postgres database");
|
||||
Requires = ("Disks", "Resolver");
|
||||
Uses = ("NFS", "Network Time");
|
||||
OrderPreference = "None";
|
||||
Messages =
|
||||
{
|
||||
start = "Starting PostgreSQL database server";
|
||||
stop = "Stopping PostgreSQL database server";
|
||||
restart = "Restarting PostgreSQL database server";
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user