The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/distrobuilder/pull/307

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
From 93e2ff0ead9a4379f7d34fd4ed75d7a6d6d110ba Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Wed, 11 Mar 2020 08:33:37 +0100
Subject: [PATCH] generators/lxd-agent: Fix openRC service file

Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
---
 generators/lxd-agent.go | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/generators/lxd-agent.go b/generators/lxd-agent.go
index d415b55..5d1a095 100644
--- a/generators/lxd-agent.go
+++ b/generators/lxd-agent.go
@@ -130,7 +130,10 @@ func (g LXDAgentGenerator) handleOpenRC(sourceDir string) 
error {
 
 description="LXD - agent"
 command=/run/lxd_config/9p/lxd-agent
-required_files=/dev/virtio-ports/org.linuxcontainers.lxd
+command_background=true
+pidfile=/run/lxd-agent.pid
+start_stop_daemon_args="--chdir /run/lxd_config/9p"
+required_dirs=/run/lxd_config/9p
 
 depend() {
        need lxd-agent-9p
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to