Spaces:
Running
Running
Commit
·
acc0999
1
Parent(s):
b750239
further work on the symlink (2)
Browse files- myNodeServer.js +1 -1
- omnitool_start.sh +2 -0
myNodeServer.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* All rights reserved.
|
4 |
*/
|
5 |
//@ts-check
|
6 |
-
const VERSION = '0.6.0.hf.
|
7 |
|
8 |
const express = require('express');
|
9 |
const http = require('http');
|
|
|
3 |
* All rights reserved.
|
4 |
*/
|
5 |
//@ts-check
|
6 |
+
const VERSION = '0.6.0.hf.009c2';
|
7 |
|
8 |
const express = require('express');
|
9 |
const http = require('http');
|
omnitool_start.sh
CHANGED
@@ -15,6 +15,8 @@ if [ -d "/data" ]; then
|
|
15 |
if [ -d "./omnitool/packages/omni-server/data.local" ]; then
|
16 |
rm -rf ./omnitool/packages/omni-server/data.local
|
17 |
fi
|
|
|
|
|
18 |
|
19 |
# Create the symlink
|
20 |
echo "--- Create the symlink ---"
|
|
|
15 |
if [ -d "./omnitool/packages/omni-server/data.local" ]; then
|
16 |
rm -rf ./omnitool/packages/omni-server/data.local
|
17 |
fi
|
18 |
+
mkdir ./omnitool/packages/omni-server/data.local
|
19 |
+
chown -Rh node ./omnitool/packages/omni-server/data.local
|
20 |
|
21 |
# Create the symlink
|
22 |
echo "--- Create the symlink ---"
|