mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
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>
This commit is contained in:
2 files changed
+8
-17
No files matched your search
@@ -0,0 +1,6 @@
|
||||
# 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
|
||||
Reference in new issue
Block a user