mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-29 10:10:19 +00:00
Tests: - Running make install installs to /usr/lib/freedombox. Non-privileged users don't find it in the path. root user does. - New service file contains path to /usr/lib/freedombox/. Actions works as expected. - Build and install the debian package. Privileged daemon runs as expected and first setup steps complete as expected. First wizard works as expected. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
23 lines
515 B
Desktop File
23 lines
515 B
Desktop File
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
[Unit]
|
|
Description=FreedomBox Privileged Service
|
|
Documentation=https://wiki.debian.org/FreedomBox/
|
|
# Don't hit the start rate limiting.
|
|
StartLimitIntervalSec=0
|
|
|
|
[Service]
|
|
Type=notify
|
|
ExecStart=/usr/lib/freedombox/freedombox-privileged
|
|
TimeoutSec=300s
|
|
User=root
|
|
Group=root
|
|
NotifyAccess=main
|
|
# Uploaded files in /var/tmp/ are shared with FreedomBox web service.
|
|
#PrivateTmp=yes
|
|
Restart=on-failure
|
|
# Don't restart too fast
|
|
RestartSec=1
|
|
RestartSteps=3
|
|
RestartMaxDelaySec=5
|