diff options
author | Tom Galloway <github@tomgalloway.co.uk> | 2013-01-04 12:50:51 +0000 |
---|---|---|
committer | Tom Galloway <github@tomgalloway.co.uk> | 2013-01-04 12:50:51 +0000 |
commit | b45d5cfe85bc7686a6296aa0af4735710a6f7122 (patch) | |
tree | f692b3da9fd00a7015b24493c918ddcf1c928e22 /plinth.py | |
parent | 95118b3b96d18c5255f1d273b07c387058b32e09 (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-x | plinth.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |