summaryrefslogtreecommitdiff
path: root/dev-util/buildbot/files/buildmaster.initd
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/buildbot/files/buildmaster.initd')
-rw-r--r--dev-util/buildbot/files/buildmaster.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-util/buildbot/files/buildmaster.initd b/dev-util/buildbot/files/buildmaster.initd
index b75ae34830d4..2fe8db9f513e 100644
--- a/dev-util/buildbot/files/buildmaster.initd
+++ b/dev-util/buildbot/files/buildmaster.initd
@@ -1,10 +1,10 @@
#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
extra_started_commands="reload"
-BUILDMASTER_NAME=${RC_SVCNAME:12}
+BUILDMASTER_NAME=${RC_SVCNAME#*.}
BUILDMASTER_PATH="${BASEDIR}/${BUILDMASTER_NAME}"
depend() {