From Fedora Project Wiki

No edit summary
No edit summary
 
(31 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{header|docs}}
{{header|docs}}
{{Docs_beat_open}}


=== systemd ===
{{Docs_beat_closed}}
MySQL and PostgreSQL have been updated to use native systemd unit files for startup, in place of the SysV-style init scripts.  This should eliminate various unfortunate problems that occurred in Fedora 15 due to systemd's rather poor handling of SysV scripts.  Also, handling of cases where the database server is slow to start up is significantly better than it ever was in the SysV scripts, since in systemd there is no reason not to wait until the server is really ready.
 
=== PostgreSQL ===
In the case of PostgreSQL, the "service postgresql initdb" and "service postgresql upgrade" actions that were supported by the SysV init script cannot be provided by the systemd unit file.  There is a new standalone script postgresql-setup that provides these functions.  For example, to initialize a new postgresql database, do something like
 
<code>
sudo postgresql-setup initdb
</code>
 
If you need to run more than one postgresql server on the same machine, you can duplicate and modify the postgresql.service file, as is customary with systemd services.  Add the name of the new service file when you call postgresql-setup to have it extract the PGDATA setting from that service file instead of postgresql.service.


[[Category:Docs Project]]
[[Category:Docs Project]]
[[Category:Draft documentation]]
[[Category:Draft documentation]]
[[Category:Documentation beats]]
[[Category:Documentation beats]]

Latest revision as of 01:33, 20 September 2016

DocsProject Header docTeam1.png


Warning.png
Beat Closed on Wiki
Work on beats has now moved to git at https://pagure.io/fedora-docs/release-notes. If you have changes or additions, please contact the docs team via #fedora-docs, docs@lists.fedoraproject.org, or with the release-notes BZ component.