orztv
commited on
Commit
·
405ecf3
1
Parent(s):
c52ae5c
update
Browse files
run.sh
CHANGED
@@ -1,15 +1,4 @@
|
|
1 |
#!/bin/bash
|
2 |
-
set -e
|
3 |
-
|
4 |
-
# 添加错误处理
|
5 |
-
trap 'echo "Error on line $LINENO"' ERR
|
6 |
-
|
7 |
-
# 环境变量检查
|
8 |
-
: "${N8N_ENCRYPTION_KEY:?Need to set N8N_ENCRYPTION_KEY}"
|
9 |
-
|
10 |
-
WEBDAV_URL="$WEBDAV_URL"
|
11 |
-
WEBDAV_USER="$WEBDAV_USER"
|
12 |
-
WEBDAV_PASSWORD="$WEBDAV_PASSWORD"
|
13 |
|
14 |
current_time=$(date +"%Y-%m-%d %H:%M:%S")
|
15 |
echo "Starting n8n at $current_time"
|
|
|
1 |
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
current_time=$(date +"%Y-%m-%d %H:%M:%S")
|
4 |
echo "Starting n8n at $current_time"
|