aboutsummaryrefslogtreecommitdiff
path: root/service-script-guide.md
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-12-20 20:07:00 -0500
committerMike Frysinger <vapier@gentoo.org>2021-12-20 20:07:00 -0500
commit301161a7a4bda27c7ebd54c537dfec0cbc926365 (patch)
tree57cfa86113c16a0c85974d46286334842ceeea14 /service-script-guide.md
parent04d823484445d5b9f80bc920474a9aff22657bce (diff)
use HEAD in git URIs to point to the default branch
This makes the URIs shorter and dynamic: whatever the default branch the repo uses will be used.
Diffstat (limited to 'service-script-guide.md')
-rw-r--r--service-script-guide.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/service-script-guide.md b/service-script-guide.md
index e5c61f8d..38b9c55d 100644
--- a/service-script-guide.md
+++ b/service-script-guide.md
@@ -350,7 +350,7 @@ pidfile="@piddir@/${RC_SVCNAME}.pid"
```
A decent example of this is the [Nagios core service
-script](https://github.com/NagiosEnterprises/nagioscore/blob/master/openrc-init.in),
+script](https://github.com/NagiosEnterprises/nagioscore/blob/HEAD/openrc-init.in),
where the full path to the PID file is specified at build-time.
## Don't let the user control the PID file location