aboutsummaryrefslogtreecommitdiffstats
path: root/www-misc/skein/files
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-05-30 21:38:01 +0200
committerWynn Wolf Arbor2020-05-30 21:38:01 +0200
commit54490fbfdf8ab66ca3da1357500e8190c6488299 (patch)
treed1bcec43fa762d2c1f1b1551e81965390d28b8e4 /www-misc/skein/files
parent1eaca904a51dfafc2b05008a712775fb88c27a5e (diff)
downloadpramantha-54490fbfdf8ab66ca3da1357500e8190c6488299.tar.gz
www-misc/skein: Bump to 0.1.0
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Diffstat (limited to '')
-rw-r--r--www-misc/skein/files/cgit-chroot.initd21
-rw-r--r--www-misc/skein/files/skein-infra.initd21
2 files changed, 21 insertions, 21 deletions
diff --git a/www-misc/skein/files/cgit-chroot.initd b/www-misc/skein/files/cgit-chroot.initd
deleted file mode 100644
index bdbc5fb..0000000
--- a/www-misc/skein/files/cgit-chroot.initd
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-description="Sets up the chroot environment for cgit"
-
-export CGIT_CHROOT="${CGIT_CHROOT:-/srv/cgit}"
-export CGIT_GIT_ROOT="${CGIT_GIT_ROOT:-/srv/git}"
-
-start_pre() {
- checkpath -o root -d "${CGIT_CHROOT}"
- checkpath -o root -d "${CGIT_GIT_ROOT}"
-}
-
-start() {
- /usr/libexec/skein/cgit-chroot setup
-}
-
-stop() {
- /usr/libexec/skein/cgit-chroot teardown
-}
diff --git a/www-misc/skein/files/skein-infra.initd b/www-misc/skein/files/skein-infra.initd
new file mode 100644
index 0000000..95febee
--- /dev/null
+++ b/www-misc/skein/files/skein-infra.initd
@@ -0,0 +1,21 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+description="Sets up the chroot environment for cgit"
+
+export SKEIN_CGIT_ROOT="${SKEIN_CGIT_ROOT:-/srv/cgit}"
+export SKEIN_GIT_ROOT="${SKEIN_GIT_ROOT:-/srv/git}"
+
+start_pre() {
+ checkpath -o root -d "${SKEIN_CGIT_ROOT}"
+ checkpath -o root -d "${SKEIN_GIT_ROOT}"
+}
+
+start() {
+ /usr/sbin/skein-infra setup
+}
+
+stop() {
+ /usr/sbin/skein-infra teardown
+}