[arch-commits] Commit in lxc/trunk (PKGBUILD lxc.service)

2020-04-16 Thread Sergej Pupykin via arch-commits
Date: Friday, April 17, 2020 @ 00:51:56
  Author: spupykin
Revision: 615390

upgpkg: lxc 1:4.0.2-1

Modified:
  lxc/trunk/PKGBUILD
  lxc/trunk/lxc.service

-+
 PKGBUILD|6 +++---
 lxc.service |3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-17 00:44:26 UTC (rev 615389)
+++ PKGBUILD2020-04-17 00:51:56 UTC (rev 615390)
@@ -6,7 +6,7 @@
 
 pkgname=lxc
 epoch=1
-pkgver=4.0.1
+pkgver=4.0.2
 pkgrel=1
 pkgdesc="Linux Containers"
 arch=('x86_64')
@@ -26,10 +26,10 @@
"lxc.tmpfiles.d"
"lxc.service"
"lxc-auto.service")
-sha256sums=('70bbaac1df097f32ee5493a5e67a52365f7cdda28529f40197d6160bbec4139d'
+sha256sums=('ca336dcdf303fea5ff231d89a9b6278b061c4cffb14f0db0a71a15bdd95a5cb0'
 'SKIP'
 '10e4f661872f773bf3122a2f9f2cb13344fea86a4ab72beecb4213be4325c479'
-'711fb84c87b143cb0098e095fdebb040b15f553a854efbe846a00100bdb9ae88'
+'bbe7e0447bc3bf5f75f312c34d647f5218024731628a5e8633b1ea1801ebe16b'
 'b31f8d6b301ab9901b43f2696bcd0babb32b96e4a59fab63a2d642e43bf26bb3')
 
 prepare() {

Modified: lxc.service
===
--- lxc.service 2020-04-17 00:44:26 UTC (rev 615389)
+++ lxc.service 2020-04-17 00:51:56 UTC (rev 615390)
@@ -4,7 +4,8 @@
 
 [Service]
 Type=forking
-ExecStart=/usr/bin/lxc-start -d -n %i
+ExecStart=/usr/bin/lxc-start -d -n %i -p /run/lxc-%i.pid
+PIDFile=/run/lxc-%i.pid
 ExecStop=/usr/bin/lxc-stop -n %i
 Delegate=true
 TasksMax=32768


[arch-commits] Commit in lxc/trunk (PKGBUILD lxc.service lxc@.service)

2014-04-09 Thread Sergej Pupykin
Date: Wednesday, April 9, 2014 @ 19:22:32
  Author: spupykin
Revision: 109035

avoid svn peg revision

Added:
  lxc/trunk/lxc.service
(from rev 109030, lxc/trunk/lxc@.service)
Modified:
  lxc/trunk/PKGBUILD
Deleted:
  lxc/trunk/lxc@.service

--+
 PKGBUILD |4 ++--
 lxc.service  |   11 +++
 lxc@.service |   11 ---
 3 files changed, 13 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-04-09 17:08:13 UTC (rev 109034)
+++ PKGBUILD2014-04-09 17:22:32 UTC (rev 109035)
@@ -20,7 +20,7 @@
 options=('emptydirs')
 source=("http://linuxcontainers.org/downloads/$pkgname-${pkgver}.tar.gz";
"lxc.tmpfiles.d"
-   "lxc@.service")
+   "lxc.service")
 md5sums=('55873b1411a606397309aa6c4c4263b3'
  'df94c9fb8a753011c86ee664e9f521ff'
  '32db4ef06b27f36e15ff4b67c049dfeb')
@@ -51,7 +51,7 @@
   make DESTDIR="$pkgdir" install
   install -d -m755 "$pkgdir/var/lib/lxc"
   install -d -m755 "$pkgdir/usr/lib/lxc/rootfs/dev"
-  install -D -m644 ${srcdir}/lxc@.service 
${pkgdir}/usr/lib/systemd/system/lxc@.service
+  install -D -m644 ${srcdir}/lxc.service 
${pkgdir}/usr/lib/systemd/system/lxc@.service
   install -D -m644 ${srcdir}/lxc.tmpfiles.d 
${pkgdir}/usr/lib/tmpfiles.d/lxc.conf
 
   cd doc

Copied: lxc/trunk/lxc.service (from rev 109030, lxc/trunk/lxc@.service)
===
--- lxc.service (rev 0)
+++ lxc.service 2014-04-09 17:22:32 UTC (rev 109035)
@@ -0,0 +1,11 @@
+[Unit]
+Description=%i LXC
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/lxc-start -d -n %i
+ExecStop=/usr/bin/lxc-stop -n %i
+
+[Install]
+WantedBy=multi-user.target

Deleted: lxc@.service
===
--- lxc@.service2014-04-09 17:08:13 UTC (rev 109034)
+++ lxc@.service2014-04-09 17:22:32 UTC (rev 109035)
@@ -1,11 +0,0 @@
-[Unit]
-Description=%i LXC
-After=network.target
-
-[Service]
-Type=forking
-ExecStart=/usr/bin/lxc-start -d -n %i
-ExecStop=/usr/bin/lxc-stop -n %i
-
-[Install]
-WantedBy=multi-user.target