Reticulum-Go/packaging/systemd/user.conf.example

22 lines
738 B
Text

# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2024-2026 Quad4.io
#
# Optional systemd drop-in to run the daemon as a dedicated user.
# Not installed or enabled by default. Serial, modem, and SDR interfaces
# need the matching device groups on that user.
#
# Install:
# install -d /etc/systemd/system/reticulum-go.service.d
# install -m 644 user.conf /etc/systemd/system/reticulum-go.service.d/user.conf
# systemctl daemon-reload
#
# Create the user first (example):
# useradd --system --home /var/lib/reticulum-go --shell /usr/sbin/nologin reticulum
# chown -R reticulum:reticulum /var/lib/reticulum-go
#
# Uncomment and adjust:
# [Service]
# User=reticulum
# Group=reticulum
# SupplementaryGroups=dialout uucp plugdev