mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +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
|
$ sudo python -m plinth --no-daemon --debug
|
||||||
|
|
||||||
In this mode, Plinth runs in working directory without need for
|
In this mode, Plinth runs in working directory without need for
|
||||||
installation. It uses a different config file (plinth.conf in working
|
installation. It uses the plinth.conf config file in the working
|
||||||
directory) instead of the regular config file (/etc/plinth/plinth.conf). It
|
directory if no regular config file (/etc/plinth/plinth.conf) is found.
|
||||||
creates all that data and runtime files in data/var/*. To make Plinth
|
It creates all that data and runtime files in data/var/*.
|
||||||
pickup the config file in working directory, simply delete
|
|
||||||
/etc/plinth/plinth.config.
|
|
||||||
|
|
||||||
*Note:* This mode is supported only in a limited manner. The following are
|
*Note:* This mode is supported only in a limited manner. The following are
|
||||||
the unknown issues with it:
|
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.
|
2. Actions do not work when running as normal user without 'sudo' prefix.
|
||||||
|
|
||||||
3. Actions do not work when running as normal user without 'sudo' prefix.
|
|
||||||
You need to add 'actions' directory to be allowed for 'sudo' commands.
|
You need to add 'actions' directory to be allowed for 'sudo' commands.
|
||||||
See data/etc/sudoers.d/plinth for a hint.
|
See data/etc/sudoers.d/plinth for a hint.
|
||||||
|
|
||||||
|
|||||||
@ -19,4 +19,6 @@
|
|||||||
Plinth package init file
|
Plinth package init file
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from . import context_processors
|
||||||
|
|
||||||
__version__ = '0.3.2'
|
__version__ = '0.3.2'
|
||||||
|
|||||||
@ -19,6 +19,6 @@
|
|||||||
Plinth module for first boot wizard
|
Plinth module for first boot wizard
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from . import first_boot
|
from . import first_boot, middleware
|
||||||
|
|
||||||
__all__ = ['first_boot']
|
__all__ = ['first_boot']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user