fix: adduser with '--group' to create group together
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
b962501d08
commit
82200e1ab6
|
@ -3,7 +3,7 @@
|
||||||
pkgname="dufs"
|
pkgname="dufs"
|
||||||
arch="amd64"
|
arch="amd64"
|
||||||
pkgver="0.39.0"
|
pkgver="0.39.0"
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="A file server that supports static serving, uploading, searching, accessing control, webdav..."
|
pkgdesc="A file server that supports static serving, uploading, searching, accessing control, webdav..."
|
||||||
url="https://github.com/sigoden/dufs"
|
url="https://github.com/sigoden/dufs"
|
||||||
maintainer="Leafee98 <me@leafee98.com>"
|
maintainer="Leafee98 <me@leafee98.com>"
|
||||||
|
@ -25,7 +25,7 @@ function package {
|
||||||
function debian_postinst {
|
function debian_postinst {
|
||||||
cat << EOF
|
cat << EOF
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
adduser --system dufs
|
adduser --system --group dufs
|
||||||
|
|
||||||
mkdir -p /srv/dufs
|
mkdir -p /srv/dufs
|
||||||
chown dufs:dufs -R /srv/dufs
|
chown dufs:dufs -R /srv/dufs
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
pkgname="filebrowser"
|
pkgname="filebrowser"
|
||||||
arch="amd64"
|
arch="amd64"
|
||||||
pkgver="2.27.0"
|
pkgver="2.27.0"
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Web File Browser"
|
pkgdesc="Web File Browser"
|
||||||
maintainer="Leafee98 <me@leafee98.com>"
|
maintainer="Leafee98 <me@leafee98.com>"
|
||||||
url="https://github.com/filebrowser/filebrowser"
|
url="https://github.com/filebrowser/filebrowser"
|
||||||
|
@ -29,7 +29,7 @@ function package {
|
||||||
function debian_postinst {
|
function debian_postinst {
|
||||||
cat << EOF
|
cat << EOF
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
adduser --system filebrowser
|
adduser --system --group filebrowser
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
pkgname="forgejo"
|
pkgname="forgejo"
|
||||||
arch="amd64"
|
arch="amd64"
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgver="1.21.4-0"
|
pkgver="1.21.4-0"
|
||||||
pkgdesc="A painless selfhost git service."
|
pkgdesc="A painless selfhost git service."
|
||||||
url="https://codeberg.org/forgejo/forgejo"
|
url="https://codeberg.org/forgejo/forgejo"
|
||||||
|
@ -29,7 +29,7 @@ mkdir -p /var/lib/forgejo
|
||||||
mkdir -p /etc/forgejo/conf
|
mkdir -p /etc/forgejo/conf
|
||||||
touch /etc/forgejo/conf/app.ini
|
touch /etc/forgejo/conf/app.ini
|
||||||
|
|
||||||
adduser --system git
|
adduser --system --group git
|
||||||
chown -R git:git /var/lib/forgejo
|
chown -R git:git /var/lib/forgejo
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
pkgname="plik-bin"
|
pkgname="plik-bin"
|
||||||
arch="amd64"
|
arch="amd64"
|
||||||
pkgrel=5
|
pkgrel=6
|
||||||
pkgver="1.3.8"
|
pkgver="1.3.8"
|
||||||
pkgdesc="Plik is a temporary file upload system (Wetransfer like) in Go."
|
pkgdesc="Plik is a temporary file upload system (Wetransfer like) in Go."
|
||||||
_arch="amd64"
|
_arch="amd64"
|
||||||
|
@ -29,7 +29,7 @@ function package {
|
||||||
function debian_postinst {
|
function debian_postinst {
|
||||||
cat << EOF
|
cat << EOF
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
adduser --system plik
|
adduser --system --group plik
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
if systemctl is-active --quiet plikd.service ; then
|
if systemctl is-active --quiet plikd.service ; then
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
pkgname="remark42"
|
pkgname="remark42"
|
||||||
pkgver=1.12.0
|
pkgver=1.12.0
|
||||||
pkgrel=4
|
pkgrel=5
|
||||||
arch="amd64"
|
arch="amd64"
|
||||||
pkgcommit=""
|
pkgcommit=""
|
||||||
section="utils"
|
section="utils"
|
||||||
|
@ -30,7 +30,7 @@ function debian_postinst {
|
||||||
cat << EOF
|
cat << EOF
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
touch /etc/default/remark42
|
touch /etc/default/remark42
|
||||||
adduser --system remark42
|
adduser --system --group remark42
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
if systemctl is-active --quiet remark42.service ; then
|
if systemctl is-active --quiet remark42.service ; then
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
pkgname="matrix-media-repo"
|
pkgname="matrix-media-repo"
|
||||||
arch="amd64"
|
arch="amd64"
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgver=1.3.3.56.gcc7e9e5
|
pkgver=1.3.3.56.gcc7e9e5
|
||||||
pkgdesc="matrix-media-repo (aka MMR) is a highly customizable multi-domain media repository for Matrix."
|
pkgdesc="matrix-media-repo (aka MMR) is a highly customizable multi-domain media repository for Matrix."
|
||||||
url="https://github.com/t2bot/matrix-media-repo"
|
url="https://github.com/t2bot/matrix-media-repo"
|
||||||
|
@ -39,7 +39,7 @@ function debian_postinst {
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
service_name="matrix-media-repo.service"
|
service_name="matrix-media-repo.service"
|
||||||
|
|
||||||
adduser --system matrix-media-repo
|
adduser --system --group matrix-media-repo
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
pkgname="dendrite"
|
pkgname="dendrite"
|
||||||
arch="amd64"
|
arch="amd64"
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgver="0.13.6"
|
pkgver="0.13.6"
|
||||||
pkgdesc="Dendrite is a second-generation Matrix homeserver written in Go!"
|
pkgdesc="Dendrite is a second-generation Matrix homeserver written in Go!"
|
||||||
url="https://github.com/matrix-org/dendrite"
|
url="https://github.com/matrix-org/dendrite"
|
||||||
|
@ -34,7 +34,7 @@ function debian_postinst {
|
||||||
cat << 'EOF'
|
cat << 'EOF'
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
adduser --system dendrite
|
adduser --system --group dendrite
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue