Przeglądaj źródła

packaging: add RuntimeDirectory to systemd service

Arsenović Arsen 4 lat temu
rodzic
commit
ec4e8710f2
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      packaging/systemd/miniflux.service

+ 4 - 0
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