summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-01-30 16:59:39 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-01-30 17:00:40 +0000
commitb3efec32e99e137bcd96ee8c7c6a5372455aa954 (patch)
tree66a2eb5f03cedbd8cc200637a50ee2a651d847e1
parentf853ea99e91034278b108aba3482f6a8e95821c9 (diff)
downloadlorry-controller-b3efec32e99e137bcd96ee8c7c6a5372455aa954.tar.gz
Remove pid/port files
This is a) cleaner and b) seems to make the test suite execute in 5 seconds instead of 10, for reasons I don't actually understand.
-rw-r--r--yarns.webapp/900-implementations.yarn2
1 files changed, 2 insertions, 0 deletions
diff --git a/yarns.webapp/900-implementations.yarn b/yarns.webapp/900-implementations.yarn
index 32262e3..209159d 100644
--- a/yarns.webapp/900-implementations.yarn
+++ b/yarns.webapp/900-implementations.yarn
@@ -24,6 +24,8 @@ but the shell doesn't wait for it to terminate. This way, WEBAPP will
be running until it crashes or is explicitly killed.
IMPLEMENTS GIVEN a running WEBAPP
+ rm -f "$DATADIR/webapp.pid"
+ rm -f "$DATADIR/webapp.port"
start-stop-daemon -S -x "$SRCDIR/lorry-controller-webapp" \
-b -p "$DATADIR/webapp.pid" -m --verbose \
-- \