summaryrefslogtreecommitdiff
path: root/office/taskd/profile
diff options
context:
space:
mode:
Diffstat (limited to 'office/taskd/profile')
-rw-r--r--office/taskd/profile/taskddata13
-rw-r--r--office/taskd/profile/taskddata.csh4
-rw-r--r--office/taskd/profile/taskddata.sh4
3 files changed, 21 insertions, 0 deletions
diff --git a/office/taskd/profile/taskddata b/office/taskd/profile/taskddata
new file mode 100644
index 0000000000..870f819f67
--- /dev/null
+++ b/office/taskd/profile/taskddata
@@ -0,0 +1,13 @@
+#!/bin/sh
+#Global taskd data path config
+#Must be sourced into taskd and admin user environments
+#
+#You may add the following line to /etc/profile
+# . /etc/taskd_config
+# OR
+#chmod +x /etc/profile.d/taskddata.*
+
+TASKDDATA=/var/lib/taskd
+export TASKDDATA
+
+
diff --git a/office/taskd/profile/taskddata.csh b/office/taskd/profile/taskddata.csh
new file mode 100644
index 0000000000..c1a2e40049
--- /dev/null
+++ b/office/taskd/profile/taskddata.csh
@@ -0,0 +1,4 @@
+#!/bin/csh
+#Set data path for taskd server from global config
+
+source /etc/taskddata
diff --git a/office/taskd/profile/taskddata.sh b/office/taskd/profile/taskddata.sh
new file mode 100644
index 0000000000..f9b61cca0f
--- /dev/null
+++ b/office/taskd/profile/taskddata.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+#Set data path for taskd server from global config
+
+. /etc/taskddata