From 33b958b874aa7cf0180763d36f57fc852b31aa68 Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Thu, 9 Mar 2023 12:45:37 +0100 Subject: [PATCH] Steer Linux users towards the supported service manager --- docs/running.rst | 13 +++++++------ pdns/recursordist/docs/manpages/pdns_recursor.1.rst | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/running.rst b/docs/running.rst index ab4c6a9e73..e24bd70b53 100644 --- a/docs/running.rst +++ b/docs/running.rst @@ -1,13 +1,14 @@ Running and Operating ===================== -PowerDNS is normally controlled via a SysV-style init.d script, often -located in ``/etc/init.d`` or ``/etc/rc.d/init.d``. For Linux -distributions with systemd, a service file is provided (either in the -package or in the contrib directory of the tarball). +On Linux, PowerDNS is controlled by a systemd service called ``pdns.service``. +The service definition file should be installed by the binary package, and can also be found in the tarball (``pdns.service.in`` template file). -Furthermore, PowerDNS can be run on the foreground for testing or in -other init- systems that supervise processes. +On non-Linux systems, a SysV-style init script can be used, and should be supplied by the operating system packages. + +Furthermore, PowerDNS can be run on the foreground for testing or for use with other init-systems that supervise processes. + +Also see :doc:`guides/virtual-instances`. .. _running-guardian: diff --git a/pdns/recursordist/docs/manpages/pdns_recursor.1.rst b/pdns/recursordist/docs/manpages/pdns_recursor.1.rst index 3b1b4c6cdf..d3665f695b 100644 --- a/pdns/recursordist/docs/manpages/pdns_recursor.1.rst +++ b/pdns/recursordist/docs/manpages/pdns_recursor.1.rst @@ -28,7 +28,7 @@ To stop the recursor by hand, run:: # rec_control quit However, the recommended way of starting and stopping the recursor is to use -the init.d script or :manpage:`systemctl(1)`. +:manpage:`systemctl(1)` or the init.d script. Options ------- -- 2.47.2