FreedomBox/plinth/modules/syncthing/data/usr/lib/sysusers.d/freedombox-syncthing.conf
Sunil Mohan Adapa f4be9039d2
syncthing: Use systemd-sysusers for creating a system user account
- Drop dependency on 'adduser' package.

Tests:

- Functional tests for syncthing work.

- Installing syncthing app works. The system user and group are created with
proper UID/GID, shell, gecos, and home directory.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2026-05-13 15:37:32 -07:00

7 lines
418 B
Plaintext

# Create system user and group to run syncthing as system daemon (as opposed to
# running in particular user's account). The user is created at boot or when
# 'systemd-sysusers freedombox-syncthing.conf' is run. To override this file as
# system administrator, create a file /etc/sysusers.d/freedombox-syncthing.conf
# or link it to /dev/null.
u! syncthing - "Syncthing file synchronization server" /var/lib/syncthing