summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2020-02-22 17:50:37 +0100
committerUltrabug <ultrabug@gentoo.org>2020-02-22 17:50:37 +0100
commit82ce9df3f16f40fb52c6c8b4f6484ead55cac7ed (patch)
tree4ffe00b35ead7ad12cdf633c6fd3b069297a1c06 /dev-db/scylla-bin/files/scylla-server.confd
parentapp-admin/scylla-manager-agent: new ebuild (diff)
downloadultrabug-82ce9df3f16f40fb52c6c8b4f6484ead55cac7ed.tar.gz
ultrabug-82ce9df3f16f40fb52c6c8b4f6484ead55cac7ed.tar.bz2
ultrabug-82ce9df3f16f40fb52c6c8b4f6484ead55cac7ed.zip
dev-db/scylla-bin: new ebuild for relocatable package
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Manifest-Sign-Key: 34FCB257983BA23A8CEC5EB7EB9E6405C24BFAE5 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
Diffstat (limited to 'dev-db/scylla-bin/files/scylla-server.confd')
-rw-r--r--dev-db/scylla-bin/files/scylla-server.confd17
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-db/scylla-bin/files/scylla-server.confd b/dev-db/scylla-bin/files/scylla-server.confd
new file mode 100644
index 0000000..f210c1b
--- /dev/null
+++ b/dev-db/scylla-bin/files/scylla-server.confd
@@ -0,0 +1,17 @@
+# please check the defaults of scylla in the /etc/default/scylla-server file!
+#
+# you can configure the following options for the OpenRC init script:
+# - chdir
+# - config_file
+# - run_dir
+
+# source scylla default env
+source /etc/default/scylla-server
+
+# source scylla additional configuration
+for i in /etc/scylla.d/*.conf; do
+ if [ "$i" = "/etc/scylla.d/*.conf" ]; then
+ break
+ fi
+ . "$i"
+done