chore: 默认端口改为 3030
- 更新 .env, .env.example, .env.production - 避免与 3000 端口冲突
This commit is contained in:
20
qiniu-bot.service
Normal file
20
qiniu-bot.service
Normal file
@@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=七牛云上传飞书机器人
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=admin
|
||||
WorkingDirectory=/home/admin/.openclaw/workspace/qiniu-feishu-bot
|
||||
Environment=NODE_ENV=production
|
||||
ExecStart=/usr/bin/node src/index.js
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
|
||||
# 日志
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=qiniu-bot
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user