Release stuff
This commit is contained in:
parent
0fec124495
commit
c1c8063d59
3 changed files with 34 additions and 3 deletions
|
@ -20,8 +20,6 @@ archives:
|
||||||
amd64: x86_64
|
amd64: x86_64
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
snapshot:
|
|
||||||
name_template: "{{ .Tag }}-next"
|
|
||||||
changelog:
|
changelog:
|
||||||
sort: asc
|
sort: asc
|
||||||
filters:
|
filters:
|
||||||
|
@ -32,4 +30,18 @@ gitea_urls:
|
||||||
api: https://git.keks.cloud/api/v1/
|
api: https://git.keks.cloud/api/v1/
|
||||||
download: https://git.keks.cloud
|
download: https://git.keks.cloud
|
||||||
# set to true if you use a self-signed certificate
|
# set to true if you use a self-signed certificate
|
||||||
skip_tls_verify: false
|
skip_tls_verify: false
|
||||||
|
|
||||||
|
nfpms:
|
||||||
|
id: "http-server-status"
|
||||||
|
package_name: "http-server-status"
|
||||||
|
vendor: kekskurse
|
||||||
|
homepage: https://git.keks.cloud/kekskurse/http-server-status
|
||||||
|
maintainer: hello@kekskurse.de
|
||||||
|
description: Stauts Page for Server
|
||||||
|
license: Apache 2.0
|
||||||
|
formats:
|
||||||
|
- deb
|
||||||
|
contents:
|
||||||
|
- src: init/http-server-status.service
|
||||||
|
dst: /etc/systemd/system/http-server-status.service
|
17
init/http-server-status.service
Normal file
17
init/http-server-status.service
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Go Mail Admin
|
||||||
|
After=syslog.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
ExecStart=/usr/local/bin/http-server-status
|
||||||
|
SyslogIdentifier=http-server-status
|
||||||
|
StandardOutput=syslog
|
||||||
|
StandardError=syslog
|
||||||
|
Restart=always
|
||||||
|
RestartSec=3
|
||||||
|
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
2
scripts/postinstall.sh
Normal file
2
scripts/postinstall.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
systemctl daemon-reload
|
||||||
|
systemctl restart http-server-status
|
Loading…
Reference in a new issue