mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Fixed ImportError when running plinth as daemonized python package
This commit is contained in:
1 parent
0b5af37610
commit
7bb9c84863
3 files changed
+8
-10
No files matched your search
@@ -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.
|
||||
|
||||
|
||||
Reference in new issue
Block a user