Support specifying instance name in JSON file
authorRafał Miłecki <rafal@milecki.pl>
Mon, 22 May 2017 09:57:47 +0000 (11:57 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 22 May 2017 09:57:47 +0000 (11:57 +0200)
commit0e8b948ff8dd1cb1763180c99b522390529c7841
tree78fce2add664ce7bfc8a42f3332ca9506a8cc561
parent49fdb9f7a5454f7e11e8bcd621bff17cbf9da5ca
Support specifying instance name in JSON file

So far we were using host label as the instance name for every service.
This change allows specifying it manually and fallbacks to the label for
backward compatibility.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: John Crispin <john@phrozen.org>
service.c