209 Star 1.8K Fork 637

MyEMS/MyEMS能源管理系统

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
myems-api.service 406 Bytes
一键复制 编辑 原始数据 按行查看 历史
张能远 提交于 2年前 . all new commit
[Unit]
Description=myems-api daemon
Requires=myems-api.socket
After=network.target
[Service]
PIDFile=/run/myems-api/pid
User=root
Group=root
WorkingDirectory=/myems-api
ExecStart=/usr/local/bin/gunicorn -b 0.0.0.0:8000 --pid /run/myems-api/pid --timeout 600 --workers=4 app:api
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s TERM $MAINPID
PrivateTmp=true
[Install]
WantedBy=multi-user.target
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/myems/myems.git
git@gitee.com:myems/myems.git
myems
myems
MyEMS能源管理系统
master

搜索帮助