armagetronad systemd service file
Alexandre Detiste
alexandre.detiste at gmail.com
Sun Sep 13 07:25:38 UTC 2015
Le samedi 12 septembre 2015, 18:57:47 Markus Koschany a écrit :
> Am 12.09.2015 um 09:45 schrieb Alexandre Detiste:
> > Hi,
> >
> > I'd add a RequiresMountsFor=/var/games/armagetronad to
> > avoid that the game server is started before /var is mounted.
>
> Hi,
>
> thanks for the hint. It probably won't hurt to add this line to the
> service file.
>
> Cheers,
>
> Markus
>
Hi,
I checked a bit further, this was a source of a lot of strange bugs back then;
I guess even upstream was fed up with those and added
"RequiresMountsFor=/var /tmp /var/tmp" in basic.target.
https://github.com/systemd/systemd/commit/49d7fc99b939aa9e6601abb2d871f3ef78dc90f5
Maybe that's just a stop-gap that can be changed again when someone will want to
boot it's computer 0.4 second faster, so it's allways safer to have a specific
RequiresMountFor=/var/$something for each service;
even it it's now translated to a no-op.
Alexandre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20150913/d4fcd3e2/attachment.sig>
More information about the Pkg-games-devel
mailing list