tests/virtualbox: Put name in log descriptions.

Makes it easier to debug and find out for which machine a certain log
socket has been started or stopped.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2015-09-17 11:32:05 +02:00
parent 29f535761a
commit effe0309ee
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -172,7 +172,7 @@ import ./make-test.nix ({ pkgs, ... }: with pkgs.lib; let
in {
machine = {
systemd.sockets."vboxtestlog-${name}" = {
description = "VirtualBox Test Machine Log Socket";
description = "VirtualBox Test Machine Log Socket For ${name}";
wantedBy = [ "sockets.target" ];
before = [ "multi-user.target" ];
socketConfig.ListenStream = "/run/virtualbox-log-${name}.sock";
@ -180,7 +180,7 @@ import ./make-test.nix ({ pkgs, ... }: with pkgs.lib; let
};
systemd.services."vboxtestlog-${name}@" = {
description = "VirtualBox Test Machine Log";
description = "VirtualBox Test Machine Log For ${name}";
serviceConfig.StandardInput = "socket";
serviceConfig.StandardOutput = "syslog";
serviceConfig.SyslogIdentifier = "GUEST-${name}";