aboutsummaryrefslogtreecommitdiff
path: root/utils/ng/systemd/update-repo-notify.socket
diff options
context:
space:
mode:
Diffstat (limited to 'utils/ng/systemd/update-repo-notify.socket')
-rw-r--r--utils/ng/systemd/update-repo-notify.socket16
1 files changed, 16 insertions, 0 deletions
diff --git a/utils/ng/systemd/update-repo-notify.socket b/utils/ng/systemd/update-repo-notify.socket
new file mode 100644
index 0000000..f14743c
--- /dev/null
+++ b/utils/ng/systemd/update-repo-notify.socket
@@ -0,0 +1,16 @@
+[Unit]
+Description=Update repo notify socket
+
+[Socket]
+# If /var/run is not implemented as a symlink to /run, you may need to
+# specify ListenStream=/var/run/docker.sock instead.
+ListenStream=/run/update-repo-notify.sock
+SocketMode=0660
+SocketUser=update-database
+SocketGroup=http
+#Accept=yes
+MaxConnections=1
+FlushPending=yes
+
+[Install]
+WantedBy=sockets.target \ No newline at end of file