Fixes for systemd unit files

This commit is contained in:
2026-07-09 21:36:14 +02:00
parent 6a66b5320e
commit 7cc99b57bf
3 changed files with 11 additions and 5 deletions
+4 -2
View File
@@ -1,13 +1,15 @@
[Unit]
Description=Comfy ui in a ROCM container
After=network-online.target
Wants=network-online.target
After=comfy2.socket
Requires=comfy2.socket
[Container]
Image=localhost/comfy:latest
#AutoRemove=yes
#PublishPort=8080:8080
Network=none
# Adjust UUID or device number
Environment=ROCR_VISIBLE_DEVICES="GPU-3ce290c173497dfb"
Volume=%h/comfy/models:/comfyui/models:ro,z
Volume=%h/comfy/input2:/comfyui/input:Z