mirror of
https://github.com/ZSCNetSupportDept/scheduler.git
synced 2025-10-28 12:35:03 +08:00
完善部署流程,暂时注释掉前端picocss导入,以提升速度
This commit is contained in:
10
tools/ZSCWW-Scheduler.service
Normal file
10
tools/ZSCWW-Scheduler.service
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description = Scheduler for ZSC Network Support
|
||||
After = network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/opt/scheduler/tools/start.sh
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
4
tools/scheduler.caddyfile
Normal file
4
tools/scheduler.caddyfile
Normal file
@@ -0,0 +1,4 @@
|
||||
scheduler.zsxyww.com {
|
||||
reverse_proxy 127.0.0.1:25005
|
||||
}
|
||||
|
||||
3
tools/start.sh
Normal file
3
tools/start.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#! /usr/bin/bash
|
||||
cd /opt/scheduler
|
||||
./scheduler --config ./production.yaml >>./log
|
||||
Reference in New Issue
Block a user