UmVirt LFS Package info
DB commit: d35a620850806ab581b32cb34d268a904c9c0a5f
APP commit:
redis
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker.Package info
Codename: redis
Source file: redis-5.0.8.tar.gz
Source directory: redis-5.0.8
Package URL: https://ulfs.org/linux/downloads/package_files/0.1/packages/r/redis-5.0.8.tar.gz
Package md5-checksum URL: https://ulfs.org/linux/downloads/package_files/0.1/packages/r/redis-5.0.8.tar.gz.md5sum
Dependances: jemalloc.
Dependance of: *** NO PACKAGES FOUND ***
Patches: redis-5.0-jmalloc.patch.
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
sed -i "s/\/usr\/local/\/usr/" src/Makefile
Build script:
make
Install script:
#add group
groupadd -fg 140 redis &&
#add user
useradd -c "Redis Daemon Owner" -d /var/run/redis -u 140 \
-g redis -s /bin/false redis
#install files
make install
#install config
install -Dm644 redis.conf "\$pkgdir"/etc/redis.conf
#install service
cat > /usr/lib/systemd/system/redis.service << "EOF"
[Unit]
Description=Advanced key-value store
After=network.target
[Service]
Type=simple
User=redis
Group=redis
ExecStart=/usr/bin/redis-server /etc/redis.conf
ExecStop=/usr/bin/redis-cli shutdown
CapabilityBoundingSet=
PrivateTmp=true
PrivateDevices=true
ProtectSystem=full
ProtectHome=true
NoNewPrivileges=true
RuntimeDirectory=redis
RuntimeDirectoryMode=755
LimitNOFILE=10032
[Install]
WantedBy=multi-user.target
EOF
Apache/2.4.62 (Debian) Server at ulfs.org Port 443