aboutsummaryrefslogtreecommitdiff
path: root/documentation/content/en/books/porters-handbook/special/_index.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/content/en/books/porters-handbook/special/_index.adoc')
-rw-r--r--documentation/content/en/books/porters-handbook/special/_index.adoc35
1 files changed, 24 insertions, 11 deletions
diff --git a/documentation/content/en/books/porters-handbook/special/_index.adoc b/documentation/content/en/books/porters-handbook/special/_index.adoc
index 260fb30bd0..45c69e7d3b 100644
--- a/documentation/content/en/books/porters-handbook/special/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/special/_index.adoc
@@ -14,22 +14,35 @@ tags: ["special considerations", "Handling Symbolic Links", "Bundled Libraries"]
:icons: font
:sectnums:
:sectnumlevels: 6
+:sectnumoffset: 6
+:partnums:
:source-highlighter: rouge
:experimental:
-:skip-front-matter:
-:xrefstyle: basic
-:relfileprefix: ../
-:outfilesuffix:
-:sectnumoffset: 6
+:images-path: books/porters-handbook/
-include::shared/mirrors.adoc[]
+ifdef::env-beastie[]
+ifdef::backend-html5[]
+:imagesdir: ../../../../images/{images-path}
+endif::[]
+ifndef::book[]
include::shared/authors.adoc[]
+include::shared/mirrors.adoc[]
include::shared/releases.adoc[]
-include::shared/en/mailing-lists.adoc[]
-include::shared/en/teams.adoc[]
-include::shared/en/urls.adoc[]
+include::shared/attributes/attributes-{{% lang %}}.adoc[]
+include::shared/{{% lang %}}/teams.adoc[]
+include::shared/{{% lang %}}/mailing-lists.adoc[]
+include::shared/{{% lang %}}/urls.adoc[]
+toc::[]
+endif::[]
+ifdef::backend-pdf,backend-epub3[]
+include::../../../../../shared/asciidoctor.adoc[]
+endif::[]
+endif::[]
+ifndef::env-beastie[]
toc::[]
+include::../../../../../shared/asciidoctor.adoc[]
+endif::[]
This section explains the most common things to consider when creating a port.
@@ -4422,9 +4435,9 @@ See crossref:uses[uses-sqlite,`sqlite`] for more information.
[.filename]#rc.d# scripts are used to start services on system startup, and to give administrators a standard way of stopping, starting and restarting the service.
Ports integrate into the system [.filename]#rc.d# framework.
-Details on its usage can be found in link:{handbook}#configtuning-rcd/[the rc.d Handbook chapter].
+Details on its usage can be found in extref:{handbook}[the rc.d Handbook chapter, configtuning-rcd].
Detailed explanation of the available commands is provided in man:rc[8] and man:rc.subr[8].
-Finally, there is link:{rc-scripting}[an article] on practical aspects of [.filename]#rc.d# scripting.
+Finally, there is extref:{rc-scripting}[an article] on practical aspects of [.filename]#rc.d# scripting.
With a mythical port called _doorman_, which needs to start a _doormand_ daemon.
Add the following to the [.filename]#Makefile#: