Merge branch 'main' of gitea.schmeeve.xyz:schmeeve/schmeeve-toolz
This commit is contained in:
8
systemd/comfyui-sync.service
Normal file
8
systemd/comfyui-sync.service
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Sync new ComfyUI outputs to Samba share, organize, and rename
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=%h/git/schmeeve-toolz/comfyui-sync
|
||||||
|
StandardOutput=append:%h/.local/state/comfyui-sync.log
|
||||||
|
StandardError=append:%h/.local/state/comfyui-sync.log
|
||||||
9
systemd/comfyui-sync.timer
Normal file
9
systemd/comfyui-sync.timer
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Run comfyui-sync every 30 minutes
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=*:0/30
|
||||||
|
Persistent=true
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
||||||
Reference in New Issue
Block a user