update
This commit is contained in:
parent
583854b8e8
commit
1314b58070
|
|
@ -1,35 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Feishu Approval External Data Service
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
WorkingDirectory=/Users/marsway/Workspace/杠上开花-1
|
|
||||||
Environment=APP_MODULE=app.main:app
|
|
||||||
Environment=HOST=0.0.0.0
|
|
||||||
Environment=PORT=8000
|
|
||||||
Environment=LOG_LEVEL=info
|
|
||||||
ExecStart=/Users/marsway/Workspace/杠上开花-1/scripts/start.sh
|
|
||||||
Restart=always
|
|
||||||
RestartSec=3
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
[Unit]
|
|
||||||
Description=Feishu Approval External Data Service
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
User=www-data
|
|
||||||
WorkingDirectory=/opt/feishu-approval
|
|
||||||
Environment=APP_MODULE=app.main:app
|
|
||||||
Environment=HOST=0.0.0.0
|
|
||||||
Environment=PORT=8000
|
|
||||||
Environment=LOG_LEVEL=info
|
|
||||||
ExecStart=/opt/feishu-approval/scripts/start.sh
|
|
||||||
Restart=always
|
|
||||||
RestartSec=5
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Feishu Huobanyun
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
WorkingDirectory=/opt/feishu-huobanyun
|
||||||
|
Environment=APP_MODULE=app.main:app
|
||||||
|
Environment=HOST=0.0.0.0
|
||||||
|
Environment=PORT=12123
|
||||||
|
Environment=LOG_LEVEL=info
|
||||||
|
ExecStart=/opt/feishu-huobanyun/scripts/start.sh
|
||||||
|
Restart=always
|
||||||
|
RestartSec=3
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Loading…
Reference in New Issue