Nah, I have a paperless pod created with Quadlet.
Nah, I have a paperless pod created with Quadlet.
Is… is this satire? I honestly can’t tell any more
Who built Thebes of the seven gates?
In the books you will find the names of kings.
Did the kings haul up the lumps of rock?
And Babylon, many times demolished
Who raised it up so many times? In what houses
of gold-glittering Lima did the builders live?
Where, the evening that the Wall of China was finished
Did the masons go? Great Rome
Is full of triumphal arches. Who erected them? Over whom
Did the Caesars triumph? Had Byzantium, much praised in song
Only palaces for its inhabitans? Even in fabled Atlantis
The night the ocean engulfed it
The drowning still bawled for their slaves.The young Alexander conquered India.
Was he alone?
Caesar beat the Gauls.
Did he not have even a cook with him?Philip of Spain wept when his armada
Went down. Was he the only one to weep?
Frederick the Second won the Seven Year’s War. Who Else won it?Every page a victory.
Who cooked the feast for the victors?
Every ten years a great man?
Who paid the bill?So many reports.
So many questions.
– Bertold Brecht, Questions from a worker who reads
Fuck man, I’m so mad I didn’t come up with this. It’s so good
Yep, that’s the way!
Systemd figures it out iff you have specified your service dependencies correctly, with things like
After=
,Upholds=
,BindsTo=
, etc. Have a look atsystemd.unit
manpage for details. For my paperless service, it goes something like this:systemctl --user start paperless
, which depends on:The point of quadlet was to lean as heavily as possible on systemd for the service and dependency bits and use podman only for translating the container bits into something systemd can handle. The one bit of dependency handling that quadlet does is to make sure that
paperless.pod
is started before all containers that havePod=paperless.pod
in their quadlet file.That would be amazing, of course! :) I find that, if you’re familiar with unit files, you’re like 85% of the way there already. By the way, the unit files that quadlet generates are somewhere in
$XDG_RUNTUME_DIR
for you to inspect. I’m afraid I’m not at a computer right now andI don’t know the exact path off the top of my head.