[trunk] -> [community-testing] 'redis-dinit-20211102-2' add

master
M. Herdiansyah 10 months ago
parent 3977953256
commit 3657758387
  1. 4
      trunk/PKGBUILD
  2. 2
      trunk/redis
  3. 20
      x86_64/community-testing/PKGBUILD
  4. 5
      x86_64/community-testing/redis
  5. 4
      x86_64/community-testing/redis.script

@ -1,7 +1,7 @@
# Maintainer: Muhammad Herdiansyah <koni@artixlinux.org>
pkgname=redis-dinit
pkgver=20211102
pkgrel=1
pkgrel=2
pkgdesc="dinit service scripts for redis"
arch=('any')
url="https://artixlinux.org"
@ -11,7 +11,7 @@ depends=('redis' 'dinit')
conflicts=('init-redis')
provides=('init-redis')
source=("redis" "redis.script")
sha256sums=('a426a63d77c31960defe74d83f63b8fdf036cfd954718b5d0c9d852c833ca3d6'
sha256sums=('58f814f0851b3a8c7c598eb976aafa6f33e19142b035338f7dc738877f9053af'
'a3f8f07fd059ff58e0da739f3815fad1dddf4b4021157d2d80eda5abdd9cad7d')
package() {

@ -2,4 +2,4 @@ type = process
command = /etc/dinit.d/scripts/redis
smooth-recovery = true
logfile = /var/log/dinit/redis.log
waits-for = setup
waits-for = loginready

@ -0,0 +1,20 @@
# Maintainer: Muhammad Herdiansyah <koni@artixlinux.org>
pkgname=redis-dinit
pkgver=20211102
pkgrel=2
pkgdesc="dinit service scripts for redis"
arch=('any')
url="https://artixlinux.org"
license=('BSD')
groups=('dinit-galaxy')
depends=('redis' 'dinit')
conflicts=('init-redis')
provides=('init-redis')
source=("redis" "redis.script")
sha256sums=('58f814f0851b3a8c7c598eb976aafa6f33e19142b035338f7dc738877f9053af'
'a3f8f07fd059ff58e0da739f3815fad1dddf4b4021157d2d80eda5abdd9cad7d')
package() {
install -Dm644 redis "$pkgdir/etc/dinit.d/redis"
install -Dm755 redis.script "$pkgdir/etc/dinit.d/scripts/redis"
}

@ -0,0 +1,5 @@
type = process
command = /etc/dinit.d/scripts/redis
smooth-recovery = true
logfile = /var/log/dinit/redis.log
waits-for = loginready

@ -0,0 +1,4 @@
#!/bin/sh
install -dm0700 -o redis -g redis /var/lib/redis
install -dm0750 -o redis -g redis /run/redis
exec /usr/bin/redis-server /etc/redis.conf 2>&1
Loading…
Cancel
Save