From 4dda515821a9a05f73da082a11049b0c302858f1 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Tue, 12 Sep 2017 15:29:43 -0400 Subject: Re-add pidfile Configurable via the `pidfile' config option. * bin/server.js: Accept `pidfile' config. Include path in greeting. (writePidFile): Write to `pidfile' and unlink after exit. * conf/vanilla-server.json (pidfile): Add configuration key. --- conf/vanilla-server.json | 2 ++ 1 file changed, 2 insertions(+) (limited to 'conf') diff --git a/conf/vanilla-server.json b/conf/vanilla-server.json index 14f7fc5..5e5da12 100644 --- a/conf/vanilla-server.json +++ b/conf/vanilla-server.json @@ -2,6 +2,8 @@ "name": "Liza Server", "daemon": "../src/server/daemon/DevDaemon", + "pidfile": "", + "http": { "port": 8822 }, -- cgit v1.2.1