]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Update to work at system service?
authorEdward Delaporte <edward@delaporte.us>
Sat, 11 Apr 2026 02:32:19 +0000 (21:32 -0500)
committerEdward Delaporte <edward@delaporte.us>
Sat, 11 Apr 2026 02:32:19 +0000 (21:32 -0500)
files/autostart/sd.service

index 83e5f16b5976cddffbdd9e8c0f46d0b8dc4bf3eb..fe004249dc6865afd6950a871da7d7a61906e3d8 100755 (executable)
@@ -4,7 +4,8 @@ Description=Stable Diffusion
 [Service]
 ExecStart=%h/dotfiles/run/sd.sh
 Type=exec
 [Service]
 ExecStart=%h/dotfiles/run/sd.sh
 Type=exec
-EnvironmentFile=%h/.env
+ExecStartPre=/bin/sleep 30
+EnvironmentFile=/etc/dotfiles/.env
 
 [Install]
 WantedBy=multi-user.target
 
 [Install]
 WantedBy=multi-user.target