Release stuff

This commit is contained in:
Kekskurse 2021-09-20 11:44:27 +02:00
parent 0fec124495
commit c1c8063d59
Signed by: kekskurse
GPG key ID: 728ACCB59341E7E4
3 changed files with 34 additions and 3 deletions

View file

@ -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:
@ -33,3 +31,17 @@ gitea_urls:
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

View 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
View file

@ -0,0 +1,2 @@
systemctl daemon-reload
systemctl restart http-server-status