mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Fixed ImportError when running plinth as daemonized python package
This commit is contained in:
parent
0b5af37610
commit
7bb9c84863
14
HACKING
14
HACKING
@ -21,20 +21,16 @@
|
||||
$ sudo python -m plinth --no-daemon --debug
|
||||
|
||||
In this mode, Plinth runs in working directory without need for
|
||||
installation. It uses a different config file (plinth.conf in working
|
||||
directory) instead of the regular config file (/etc/plinth/plinth.conf). It
|
||||
creates all that data and runtime files in data/var/*. To make Plinth
|
||||
pickup the config file in working directory, simply delete
|
||||
/etc/plinth/plinth.config.
|
||||
installation. It uses the plinth.conf config file in the working
|
||||
directory if no regular config file (/etc/plinth/plinth.conf) is found.
|
||||
It creates all that data and runtime files in data/var/*.
|
||||
|
||||
*Note:* This mode is supported only in a limited manner. The following are
|
||||
the unknown issues with it:
|
||||
|
||||
1. It does not work without the --debug and --no-daemon flags.
|
||||
1. Help pages are also not built. Run 'make -C doc' manaully.
|
||||
|
||||
2. Help pages are also not built. Run 'make -C doc' manaully.
|
||||
|
||||
3. Actions do not work when running as normal user without 'sudo' prefix.
|
||||
2. Actions do not work when running as normal user without 'sudo' prefix.
|
||||
You need to add 'actions' directory to be allowed for 'sudo' commands.
|
||||
See data/etc/sudoers.d/plinth for a hint.
|
||||
|
||||
|
||||
@ -19,4 +19,6 @@
|
||||
Plinth package init file
|
||||
"""
|
||||
|
||||
from . import context_processors
|
||||
|
||||
__version__ = '0.3.2'
|
||||
|
||||
@ -19,6 +19,6 @@
|
||||
Plinth module for first boot wizard
|
||||
"""
|
||||
|
||||
from . import first_boot
|
||||
from . import first_boot, middleware
|
||||
|
||||
__all__ = ['first_boot']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user