From ec4e8710f24c944dd314463f86976b0e6459d21e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arsenovi=C4=87=20Arsen?= Date: Thu, 16 Dec 2021 05:49:02 +0100 Subject: [PATCH] packaging: add RuntimeDirectory to systemd service --- packaging/systemd/miniflux.service | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/systemd/miniflux.service b/packaging/systemd/miniflux.service index 8c860ce0..ec847ce1 100644 --- a/packaging/systemd/miniflux.service +++ b/packaging/systemd/miniflux.service @@ -55,6 +55,10 @@ RestrictRealtime=true # https://www.freedesktop.org/software/systemd/man/systemd.exec.html#ReadWritePaths= ReadWritePaths=/run +# Create /run/miniflux as 0755, for the Unix socket. +# https://www.freedesktop.org/software/systemd/man/systemd.exec.html#RuntimeDirectory= +RuntimeDirectory=miniflux + # Allow miniflux to bind to privileged ports # https://www.freedesktop.org/software/systemd/man/systemd.exec.html#AmbientCapabilities= AmbientCapabilities=CAP_NET_BIND_SERVICE