summaryrefslogtreecommitdiff
path: root/plinth.py
diff options
context:
space:
mode:
authorNick Daly <Nick.M.Daly@gmail.com>2012-10-07 20:28:42 -0500
committerNick Daly <Nick.M.Daly@gmail.com>2012-10-07 20:28:42 -0500
commitf03e184c78c2a78abd03e45a335262b945e24e12 (patch)
tree13260e39a36ed19620a9182b74943689616847aa /plinth.py
parent3ef8e8bbc25854a699b386d57497dd5c93f20c20 (diff)
Added default pidfile.
Diffstat (limited to 'plinth.py')
-rwxr-xr-xplinth.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/plinth.py b/plinth.py
index 5cdce88..d2a3e3e 100755
--- a/plinth.py
+++ b/plinth.py
@@ -79,6 +79,8 @@ def parse_arguments():
args=parser.parse_args()
if args.pidfile:
cfg.pidfile = args.pidfile
+ else:
+ 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