From f09c343592629055d4817ccc5d96c6821cac9dbc Mon Sep 17 00:00:00 2001
From: Andrea Pappacoda <andrea@pappacoda.it>
Date: Tue, 14 Jun 2022 22:30:31 +0200
Subject: [PATCH] dist: add systemd sysusers file

The systemd unit makes use of the user "signaling", but it is not
created in any way, so the directive is ignored.

By creating a sysusers file it is possible to tell the system to create
a "signaling" user so that the directive is honoured.

For more information, see the sysusers.d manpage, at
https://www.freedesktop.org/software/systemd/man/sysusers.d.html

This is mainly useful on systems running systemd, but the sysusers
concept is implemented also by other projects that don't use systemd,
like opensysusers, originated from Artix Linux.
---
 dist/init/systemd/sysusers.d/signaling.conf | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 dist/init/systemd/sysusers.d/signaling.conf

diff --git a/dist/init/systemd/sysusers.d/signaling.conf b/dist/init/systemd/sysusers.d/signaling.conf
new file mode 100644
index 0000000..6246fa9
--- /dev/null
+++ b/dist/init/systemd/sysusers.d/signaling.conf
@@ -0,0 +1,5 @@
+# SPDX-FileCopyrightText: 2022 Andrea Pappacoda <andrea@pappacoda.it>
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
+u signaling - "nextcloud-spreed-signaling user"