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

Nicola Squartini tensor5 at archlinux.org
Mon Jun 5 09:51:15 UTC 2017


    Date: Monday, June 5, 2017 @ 09:51:14
  Author: tensor5
Revision: 234165

upgpkg: parity 1.6.7-2

Add systemd user mode service.

Added:
  parity/trunk/parity.service
Modified:
  parity/trunk/PKGBUILD

----------------+
 PKGBUILD       |   10 ++++++----
 parity.service |    9 +++++++++
 2 files changed, 15 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-05 08:56:50 UTC (rev 234164)
+++ PKGBUILD	2017-06-05 09:51:14 UTC (rev 234165)
@@ -4,7 +4,7 @@
 pkgname=parity
 pkgver=1.6.7
 _commit=e1284181470059bcf560735bd4f2ffa01d836e55
-pkgrel=1
+pkgrel=2
 pkgdesc='Fast, light, robust Ethereum implementation'
 arch=('i686' 'x86_64')
 url='https://parity.io/'
@@ -11,8 +11,10 @@
 license=('GPL3')
 depends=('libsystemd' 'openssl')
 makedepends=('cargo' 'git' 'systemd')
-source=("git+https://github.com/paritytech/parity.git#commit=${_commit}")
-sha256sums=('SKIP')
+source=("git+https://github.com/paritytech/parity.git#commit=${_commit}"
+        'parity.service')
+sha256sums=('SKIP'
+            '2b3714df9417fa11b7636114b8a5f126c2f6fd3934e74d81bdc85061e8d6e737')
 
 build() {
     cd ${pkgname}
@@ -24,5 +26,5 @@
     cd ${pkgname}
 
     install -Dm755 -t "${pkgdir}"/usr/bin target/release/parity
-    install -Dm644 -t "${pkgdir}"/usr/lib/systemd/system scripts/parity.service
+    install -Dm644 -t "${pkgdir}"/usr/lib/systemd/user ../parity.service
 }

Added: parity.service
===================================================================
--- parity.service	                        (rev 0)
+++ parity.service	2017-06-05 09:51:14 UTC (rev 234165)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Parity Daemon
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/parity
+
+[Install]
+WantedBy=default.target



More information about the arch-commits mailing list