Skip to content

Commit

Permalink
systemd: mkdir -p the target mount dir
Browse files Browse the repository at this point in the history
This is probably in a postinst for a debian package or a snap somewhere,
but we're repackaging it somewhere and I have an ugly sed to fix it up.
Let's do it here instead.

Signed-off-by: Tycho Andersen <[email protected]>
  • Loading branch information
tych0 committed Nov 29, 2023
1 parent 35ab918 commit 50f7b5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/init/systemd/lxcfs.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Documentation=man:lxcfs(1)

[Service]
OOMScoreAdjust=-1000
ExecStartPre=/bin/mkdir -p {{LXCFSTARGETDIR}}
ExecStart=/usr/bin/lxcfs {{LXCFSTARGETDIR}}
KillMode=process
Restart=on-failure
Expand Down

0 comments on commit 50f7b5f

Please sign in to comment.