chiark / gitweb /
userv.service: use RuntimeDirectory= to create /run/userv
authorBen Harris <bjh21@bjh21.me.uk>
Fri, 15 Aug 2025 13:17:22 +0000 (14:17 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Mon, 29 Sep 2025 23:44:40 +0000 (00:44 +0100)
commit9b2dcc4e63ef3adf77c15a0c7d456c43c38e051b
treeaef6e15620b5a1802c8e3d4b4e9fcadd7396e0c7
parent7d979a30c531645bdcefb524b5d97eb3151ffd09
userv.service: use RuntimeDirectory= to create /run/userv

This means that systemd can create the directory itself without having
to spawn a shell.  systemd's documentation says that /var/run must be
a symlink to /run, so it's fine for the systemd unit file to create
/run/userv and assume that also creates /var/run/userv.
userv.service