You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
389 B

[Unit]
Description=DaSiWa API Server
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/root/custom_comfyui
Environment=COMFY_HOST=127.0.0.1
Environment=COMFY_PORT=8188
Environment=API_PORT=8080
Environment=COMFY_OUTPUT_DIR=/ComfyUI/output
ExecStart=/usr/bin/python3 /root/custom_comfyui/server.py
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target