mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-25 08:43:36 +00:00
- From the default 90 seconds (system-wide). This is better when systems are slow during bootup or have really slow disk IO. Tests: - When running 'systemctl start plinth' add a sleep of 120 seconds in main before notification. The service stays in 'activating' state for 2 minutes but then succeeds and becomes active. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
25 lines
433 B
Desktop File
25 lines
433 B
Desktop File
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
[Unit]
|
|
Description=FreedomBox Service (Plinth)
|
|
Documentation=man:plinth(1)
|
|
After=network.target
|
|
StartLimitIntervalSec=0
|
|
|
|
[Service]
|
|
Type=notify
|
|
ExecStart=/usr/bin/plinth
|
|
TimeoutSec=300s
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
User=plinth
|
|
Group=plinth
|
|
StandardOutput=null
|
|
StandardError=null
|
|
NotifyAccess=main
|
|
PrivateTmp=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|