This commit is contained in:
Romain Leonard 2024-02-09 07:45:14 -07:00 committed by GitHub
commit 7a2be2694b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 36 additions and 0 deletions

View File

@ -17,3 +17,12 @@ debug:
clean: clean:
@$(make) -C src -f Makefile clean @$(make) -C src -f Makefile clean
deb:
@$(make) -C src -f Makefile
mkdir -p package/predixy_1.0.5-1_amd64/etc/predixy/conf.d
mkdir -p package/predixy_1.0.5-1_amd64/usr/bin
mkdir -p package/predixy_1.0.5-1_amd64/var/log/predixy
cp src/predixy package/predixy_1.0.5-1_amd64/usr/bin
cp -r conf/* package/predixy_1.0.5-1_amd64/etc/predixy/
dpkg-deb --build package/predixy_1.0.5-1_amd64/

View File

@ -48,6 +48,11 @@ For examples:
$ make MT=false $ make MT=false
$ make debug MT=false TS=true $ make debug MT=false TS=true
To build and create debian package:
$ make deb
## Install ## Install
Just copy src/predixy to the install path Just copy src/predixy to the install path

View File

@ -0,0 +1,6 @@
Package: predixy
Version: 1.0.5
Architecture: amd64
Maintainer: Drasrax <drasrax@vuln-scan.com>
Description: Predixy is a high performance and fully featured proxy for redis sentinel and redis cluster
Predixy is a high performance and fully featured proxy for redis sentinel and redis cluster

View File

@ -0,0 +1,2 @@
systemctl daemon-reload

View File

@ -0,0 +1,12 @@
Unit]
Description=Predixy
After=network.target
PartOf=prediy.target
[Service]
Type=simple
User=redis
Group=redis
PrivateTmp=true
ExecStart=/usr/bin/predixy /etc/predixy/predixy.conf
[Install]
WantedBy=multi-user.target predixy.target

View File

@ -0,0 +1,2 @@
[Unit]
Description=Predixy is a high performance and fully featured proxy for redis sentinel and redis clusterredis_auth: false