mirror of
https://github.com/joyieldInc/predixy.git
synced 2025-12-24 22:46:41 +08:00
Merge 3e67dd3d2d into ca1630a6b4
This commit is contained in:
commit
7a2be2694b
9
Makefile
9
Makefile
@ -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/
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
6
package/predixy_1.0.5-1_amd64/DEBIAN/control
Executable file
6
package/predixy_1.0.5-1_amd64/DEBIAN/control
Executable 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
|
||||||
2
package/predixy_1.0.5-1_amd64/DEBIAN/postinst
Executable file
2
package/predixy_1.0.5-1_amd64/DEBIAN/postinst
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
systemctl daemon-reload
|
||||||
|
|
||||||
@ -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
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Predixy is a high performance and fully featured proxy for redis sentinel and redis clusterredis_auth: false
|
||||||
Loading…
Reference in New Issue
Block a user