Commit a1c6a971 authored by godog's avatar godog
Browse files

Build on Bullseye and create dedicated user

parent 47336b2c
Pipeline #19816 passed with stages
in 1 minute and 13 seconds
include: "https://git.autistici.org/ai3/build-deb/raw/master/ci-buster-backports.yml"
include: "https://git.autistici.org/ai3/build-deb/raw/master/ci-nextstable.yml"
......@@ -2,7 +2,7 @@ Source: float-debug-proxy
Section: net
Priority: optional
Maintainer: Autistici/Inventati <debian@autistici.org>
Build-Depends: debhelper-compat (= 12), golang-any (>= 1.11), dh-golang
Build-Depends: debhelper-compat (= 13), golang-any (>= 1.11), dh-golang
Standards-Version: 3.9.6
XS-Go-Import-Path: git.autistici.org/ai3/tools/float-debug-proxy
......
......@@ -6,7 +6,7 @@ After=network.target
Type=simple
ExecStart=/usr/bin/float-debug-proxy
Restart=on-failure
User=nobody
User=float-debug-proxy
NoNewPrivileges=yes
PrivateTmp=yes
......
......@@ -6,6 +6,10 @@ export DH_GOLANG_EXCLUDES = vendor
%:
dh $@ --with golang --buildsystem golang
override_dh_installsystemd:
dh_installsysusers
dh_installsystemd
override_dh_auto_test:
override_dh_auto_install:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment