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
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
@ -32,4 +30,18 @@ gitea_urls:
api: https://git.keks.cloud/api/v1/
download: https://git.keks.cloud
# 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