mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
- This is completely reworked but based on /Developer page in the FreedomBox Manual. - This documentation can be made available as static site on https://docs.freedombox.org and the /Developer page in the FreedomBox Manual can be dropped. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
17 lines
667 B
ReStructuredText
17 lines
667 B
ReStructuredText
.. SPDX-License-Identifier: CC-BY-SA-4.0
|
|
|
|
Actions
|
|
^^^^^^^
|
|
|
|
FreedomBox's web front does not directly change any aspect of the underlying
|
|
operating system. Instead, it calls upon **actions**, as shell commands. Actions
|
|
live in ``/usr/share/plinth/actions`` directory. They require no interaction
|
|
beyond passing command line arguments or taking sensitive arguments via stdin.
|
|
They change the operation of the services and apps of the FreedomBox and nothing
|
|
else. These actions are also directly usable by a skilled administrator.
|
|
|
|
The following documentation for the ``actions`` module.
|
|
|
|
.. automodule:: plinth.actions
|
|
:members: run, superuser_run, run_as_user, _run
|