[packages/lxd] lxd.service switch to Type=simple, ExecStop= added.

matkor matkor at pld-linux.org
Thu Nov 24 15:33:40 CET 2016


commit 8cf49c5897b03c050d2f93cb3eca9b012d8a8d8b
Author: Mateusz Korniak <matkor at pld-linux.org>
Date:   Thu Nov 24 15:33:17 2016 +0100

    lxd.service switch to Type=simple, ExecStop= added.

 lxd.service | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/lxd.service b/lxd.service
index f82286b..faee0d0 100644
--- a/lxd.service
+++ b/lxd.service
@@ -4,8 +4,9 @@ Documentation=http://linuxcontainers.org
 After=network.target
 
 [Service]
-Type=notify
-ExecStart=/usr/sbin/lxd daemon --syslog
+Type=simple
+ExecStart=/usr/sbin/lxd daemon 
+ExecStop=/usr/sbin/lxd shutdown 
 ExecReload=/bin/kill -s HUP $MAINPID
 LimitNOFILE=infinity
 LimitNPROC=infinity
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lxd.git/commitdiff/8cf49c5897b03c050d2f93cb3eca9b012d8a8d8b



More information about the pld-cvs-commit mailing list