[arch-commits] Commit in parity-ethereum/trunk (5 files)
Nicola Squartini
tensor5 at archlinux.org
Fri Apr 12 07:05:02 UTC 2019
Date: Friday, April 12, 2019 @ 07:05:00
Author: tensor5
Revision: 451204
upgpkg: parity-ethereum 2.4.5-1
Added:
parity-ethereum/trunk/parity-system.service
(from rev 451203, parity-ethereum/trunk/parity.service)
parity-ethereum/trunk/parity-user.service
parity-ethereum/trunk/parity.toml
Modified:
parity-ethereum/trunk/PKGBUILD
Deleted:
parity-ethereum/trunk/parity.service
-----------------------+
PKGBUILD | 19 ++++++++++++++-----
parity-system.service | 19 +++++++++++++++++++
parity-user.service | 14 ++++++++++++++
parity.service | 9 ---------
parity.toml | 3 +++
5 files changed, 50 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-12 06:47:20 UTC (rev 451203)
+++ PKGBUILD 2019-04-12 07:05:00 UTC (rev 451204)
@@ -1,8 +1,8 @@
# Maintainer: Nicola Squartini <tensor5 at gmail.com>
pkgname=parity-ethereum
-pkgver=2.3.9
-_commit=0b428262e7e64434628ece5e38e167d0428e02b2
+pkgver=2.4.5
+_commit=76d4064a4c4f486a1bd29183a9390d3a00824a6e
pkgrel=1
pkgdesc='Fast, light, robust Ethereum implementation'
arch=('x86_64')
@@ -13,10 +13,15 @@
provides=('parity')
conflicts=('parity')
replaces=('parity')
+backup=('etc/parity.toml')
source=("git+https://github.com/paritytech/parity-ethereum.git#commit=${_commit}"
- 'parity.service')
+ 'parity-system.service'
+ 'parity-user.service'
+ 'parity.toml')
sha256sums=('SKIP'
- '2b3714df9417fa11b7636114b8a5f126c2f6fd3934e74d81bdc85061e8d6e737')
+ 'b2382103002707202324a40d1de186d35de7317c5112d9e5d197f97075c6c109'
+ '7d979968367564dc48636344350403984ceb85f88a0b7d838bc047686e767289'
+ 'f4efce76a180b5a26b7e9bceee1d192b1d4d4790b711fa928fd8c9172d0cd290')
build() {
cd ${pkgname}
@@ -34,5 +39,9 @@
install -Dm755 -t "${pkgdir}"/usr/bin \
target/release/{ethstore,parity,parity-evm,whisper}
install -Dm755 target/release/ethkey "${pkgdir}"/usr/bin/parity-ethkey
- install -Dm644 -t "${pkgdir}"/usr/lib/systemd/user ../parity.service
+ for type in system user; do
+ install -Dm644 ../parity-${type}.service \
+ "${pkgdir}/usr/lib/systemd/${type}/parity.service"
+ done
+ install -Dm644 -t "${pkgdir}/etc" ../parity.toml
}
Copied: parity-ethereum/trunk/parity-system.service (from rev 451203, parity-ethereum/trunk/parity.service)
===================================================================
--- parity-system.service (rev 0)
+++ parity-system.service 2019-04-12 07:05:00 UTC (rev 451204)
@@ -0,0 +1,19 @@
+[Unit]
+Description=Parity Ethereum Daemon
+After=network.target
+
+[Service]
+User=parity
+Group=parity
+DynamicUser=on
+StateDirectory=parity
+
+ExecStart=/usr/bin/parity --config /etc/parity.toml
+Restart=on-failure
+
+# Specifies which signal to use when killing a service. Defaults to SIGTERM.
+# SIGHUP gives parity time to exit cleanly before SIGKILL (default 90s)
+KillSignal=SIGHUP
+
+[Install]
+WantedBy=default.target
Added: parity-user.service
===================================================================
--- parity-user.service (rev 0)
+++ parity-user.service 2019-04-12 07:05:00 UTC (rev 451204)
@@ -0,0 +1,14 @@
+[Unit]
+Description=Parity Ethereum Daemon
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/parity
+Restart=on-failure
+
+# Specifies which signal to use when killing a service. Defaults to SIGTERM.
+# SIGHUP gives parity time to exit cleanly before SIGKILL (default 90s)
+KillSignal=SIGHUP
+
+[Install]
+WantedBy=default.target
Deleted: parity.service
===================================================================
--- parity.service 2019-04-12 06:47:20 UTC (rev 451203)
+++ parity.service 2019-04-12 07:05:00 UTC (rev 451204)
@@ -1,9 +0,0 @@
-[Unit]
-Description=Parity Daemon
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/parity
-
-[Install]
-WantedBy=default.target
Added: parity.toml
===================================================================
--- parity.toml (rev 0)
+++ parity.toml 2019-04-12 07:05:00 UTC (rev 451204)
@@ -0,0 +1,3 @@
+[parity]
+# Blockchain and settings will be stored in /var/lib/parity.
+base_path = "/var/lib/parity"
More information about the arch-commits
mailing list