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

Sergej Pupykin spupykin at archlinux.org
Tue Nov 11 16:10:41 UTC 2014


    Date: Tuesday, November 11, 2014 @ 17:10:40
  Author: spupykin
Revision: 122375

tigervnc: kill running server on start

Modified:
  tigervnc/trunk/PKGBUILD
  tigervnc/trunk/vncserver.service

-------------------+
 PKGBUILD          |    2 +-
 vncserver.service |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-11 15:54:09 UTC (rev 122374)
+++ PKGBUILD	2014-11-11 16:10:40 UTC (rev 122375)
@@ -28,7 +28,7 @@
 	xserver116.patch)
 md5sums=('e80b16aa74f1d8e89f284a6aef99955d'
          '8a9ff6ee9907360f09b5bdabb8089502'
-         '0903d5a0dfa38e0b04964505b644585c'
+         '87678d73cc7c3fcd12797da43a0d061e'
          'b200d83c60e80c6f9693ea19a2d9f5b0'
          '22f1523a0eca56ad79cfabd0db6e2cf6'
          'e056a2502dfe0cb3b02e08cab689482f'

Modified: vncserver.service
===================================================================
--- vncserver.service	2014-11-11 15:54:09 UTC (rev 122374)
+++ vncserver.service	2014-11-11 16:10:40 UTC (rev 122375)
@@ -21,6 +21,7 @@
 Type=forking
 User=
 
+ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i >/dev/null 2>&1 || true'
 ExecStart=/usr/bin/vncserver %i
 ExecStop=/usr/bin/vncserver -kill %i
 


More information about the arch-commits mailing list