Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@ryansg.com>2019-11-11 15:37:01 -0500
committerMike Gerwitz <mike.gerwitz@ryansg.com>2019-11-11 16:53:58 -0500
commite450bbb3d69df34ba2da62fe78b7ef65bfab7efc (patch)
tree0aa2b7824ede548a6b598739683b00dfdc4d3ecc /bin
parentbdd77f8de4f022a96a887ab2c158a7551150ec62 (diff)
downloadliza-e450bbb3d69df34ba2da62fe78b7ef65bfab7efc.tar.gz
liza-e450bbb3d69df34ba2da62fe78b7ef65bfab7efc.tar.bz2
liza-e450bbb3d69df34ba2da62fe78b7ef65bfab7efc.zip
bin/delta-processor: Placeholder script
Diffstat (limited to 'bin')
-rw-r--r--bin/delta-processor.in33
-rw-r--r--bin/delta-processor.ts22
-rw-r--r--bin/server.ts (renamed from bin/server.js)0
3 files changed, 55 insertions, 0 deletions
diff --git a/bin/delta-processor.in b/bin/delta-processor.in
new file mode 100644
index 0000000..f0984e1
--- /dev/null
+++ b/bin/delta-processor.in
@@ -0,0 +1,33 @@
+#!/bin/sh
+# Start Liza delta processor using Node.js executable determined at
+# configure-time
+#
+# Copyright (C) 2010-2019 R-T Specialty, LLC.
+#
+# This file is part of liza.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# In addition to the configure-time NODE_FLAGS, the NODE_FLAGS environment
+# variable can be used to add additional arguments to this script.
+# WARNING: NODE_FLAGS arguments provided via environment varialbes are _not_
+# escaped, so be mindful of word expansion!
+#
+# @AUTOGENERATED@
+##
+
+cd "$( dirname $( readlink -f "$0" ) )"
+
+exec "@NODE@" @NODE_FLAGS@ $NODE_FLAGS delta-processor.js "$@"
+
diff --git a/bin/delta-processor.ts b/bin/delta-processor.ts
new file mode 100644
index 0000000..535bb51
--- /dev/null
+++ b/bin/delta-processor.ts
@@ -0,0 +1,22 @@
+/**
+ * Start the Liza delta processor
+ *
+ * Copyright (C) 2010-2019 R-T Specialty, LLC.
+ *
+ * This file is part of the Liza Data Collection Framework.
+ *
+ * liza is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+console.log( 'Nothing to see here yet.' );
diff --git a/bin/server.js b/bin/server.ts
index ec93fb7..ec93fb7 100644
--- a/bin/server.js
+++ b/bin/server.ts