summaryrefslogtreecommitdiff
path: root/plinth.py
diff options
context:
space:
mode:
authorTom Galloway <github@tomgalloway.co.uk>2013-01-04 12:50:51 +0000
committerTom Galloway <github@tomgalloway.co.uk>2013-01-04 12:50:51 +0000
commitb45d5cfe85bc7686a6296aa0af4735710a6f7122 (patch)
treef692b3da9fd00a7015b24493c918ddcf1c928e22 /plinth.py
parent95118b3b96d18c5255f1d273b07c387058b32e09 (diff)
Extra predepend's, plinth doesn't need to run as root, pidfile location set in cfg file.
Diffstat (limited to 'plinth.py')
-rwxr-xr-xplinth.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/plinth.py b/plinth.py
index eb39a42..3b8a100 100755
--- a/plinth.py
+++ b/plinth.py
@@ -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