mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-15 09:51:21 +00:00
Extra predepend's, plinth doesn't need to run as root, pidfile location set in cfg file.
This commit is contained in:
parent
95118b3b96
commit
b45d5cfe85
2
Makefile
2
Makefile
@ -17,7 +17,7 @@ build:
|
||||
mkdir -p $(BUILD_DIR)
|
||||
|
||||
predepend:
|
||||
sudo sh -c "apt-get install augeas-tools python-bjsonrpc python-augeas python-simplejson pandoc"
|
||||
sudo sh -c "apt-get install augeas-tools python-bjsonrpc python-augeas python-simplejson pandoc python-cheetah"
|
||||
touch predepend
|
||||
|
||||
$(BUILD_DIR)/exmachina: build
|
||||
|
||||
@ -8,6 +8,7 @@ user_db = os.path.join(data_dir, "users")
|
||||
status_log_file = os.path.join(data_dir, "status.log")
|
||||
access_log_file = os.path.join(data_dir, "access.log")
|
||||
users_dir = os.path.join(data_dir, "users")
|
||||
pidfile = os.path.join(data_dir, "pidfile.pid")
|
||||
|
||||
product_name = "Plinth"
|
||||
box_name = "FreedomBox"
|
||||
|
||||
@ -80,7 +80,8 @@ def parse_arguments():
|
||||
if args.pidfile:
|
||||
cfg.pidfile = args.pidfile
|
||||
else:
|
||||
cfg.pidfile = "plinth.pid"
|
||||
if not cfg.pidfile:
|
||||
cfg.pidfile = "plinth.pid"
|
||||
if args.listen_exmachina_key:
|
||||
# this is where we optionally try to read in a shared secret key to
|
||||
# authenticate connections to exmachina
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user