this post was submitted on 06 Dec 2023
2 points (75.0% liked)

Homelab

371 readers
3 users here now

Rules

founded 1 year ago
MODERATORS
 

I want to make sure that my network share mounts before podman starts jellyfin. Right now I have a simple delay setup to wait to start the podman VM but its a very ugly solution.

Edit: the solution is systemd

top 4 comments
sorted by: hot top controversial new old
[–] 4am@lemm.ee 1 points 11 months ago (2 children)
[–] possiblylinux127@lemmy.zip 1 points 10 months ago* (last edited 10 months ago)

That's what I ended up using. It didn't work with fstab to I used a systems mount as well

[–] lurch@sh.itjust.works 1 points 11 months ago

Make the delay small, put it in a loop and poll?

Another way could be to use service dependencies, but that's tricky.