Skip to content
Snippets Groups Projects
Commit ff0acda2 authored by ale's avatar ale
Browse files

Build a Debian package

parent 251b57be
Branches
No related tags found
No related merge requests found
include: "https://git.autistici.org/ai3/build-deb/raw/master/ci-common.yml"
jitsi-prometheus-exporter (0.1) unstable; urgency=low
* Initial Release.
-- ale <ale@incal.net> Mon, 17 Jan 2021 13:17:23 +0000
9
Source: jitsi-prometheus-exporter
Section: admin
Priority: optional
Maintainer: ale <ale@incal.net>
Build-Depends: debhelper (>= 9), dh-golang, golang-any
Standards-Version: 3.9.6
Package: jitsi-prometheus-exporter
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Jitsi prometheus exporter
Exports Jitsi usage metrics to Prometheus.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: jitsi-prometheus-exporter
Source: <url://example.com>
Files: *
Copyright: 2020 <ale@incal.net>
License: GPL-3.0+
Files: debian/*
Copyright: 2017 ale <ale@incal.net>
License: GPL-3.0+
License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
[Unit]
Description=Jitsi Prometheus exporter
[Service]
User=nobody
ExecStart=/usr/bin/jitsi-prometheus-exporter
Restart=always
RestartSec=3
NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
ProtectHome=yes
ProtectSystem=full
ReadOnlyDirectories=/
[Install]
WantedBy=multi-user.target
#!/usr/bin/make -f
export DH_GOPKG := git.autistici.org/ai3/tools/jitsi-prometheus-exporter
%:
dh $@ --buildsystem=golang --with=golang --with=systemd
override_dh_auto_install:
dh_auto_install -- --no-source
3.0 (native)
go.mod 0 → 100644
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment