Add Jenkinsfile for build automation
This commit is contained in:
parent
1d0b694627
commit
bf0ece92ab
8 changed files with 302 additions and 0 deletions
10
.build/DEB/control
Normal file
10
.build/DEB/control
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
Package: rpxy
|
||||
Version: @BUILD_VERSION@-1
|
||||
Maintainer: Jun Kurihara <kurihara@ieee.org>
|
||||
Homepage: https://github.com/junkurihara/rust-rpxy
|
||||
Architecture: amd64
|
||||
Depends: systemd
|
||||
Recommends: rpxy-webui
|
||||
Priority: optional
|
||||
Section: base
|
||||
Description: A simple and ultrafast reverse-proxy serving multiple domain names with TLS termination, written in Rust
|
||||
9
.build/DEB/postinst
Normal file
9
.build/DEB/postinst
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
systemctl daemon-reload
|
||||
systemctl enable rpxy
|
||||
systemctl start rpxy
|
||||
|
||||
exit 0
|
||||
8
.build/DEB/prerm
Normal file
8
.build/DEB/prerm
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
systemctl stop rpxy || true
|
||||
systemctl disable rpxy || true
|
||||
|
||||
exit 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue