Compare commits
No commits in common. "a928256a4f6049dc9bac20ccfcfdbdfc75783043" and "3cfacb03fb2c3dcff6dc51f6723500df94a5688f" have entirely different histories.
a928256a4f
...
3cfacb03fb
|
@ -3,7 +3,7 @@
|
|||
pkgname="dufs"
|
||||
arch="amd64"
|
||||
pkgver="0.35.0"
|
||||
pkgrel=2
|
||||
pkgrel=1
|
||||
pkgdesc="A file server that supports static serving, uploading, searching, accessing control, webdav..."
|
||||
url="https://github.com/sigoden/dufs"
|
||||
maintainer="Leafee98 <me@leafee98.com>"
|
||||
|
@ -25,7 +25,7 @@ function package {
|
|||
function debian_postinst {
|
||||
cat << EOF
|
||||
#!/usr/bin/env bash
|
||||
adduser --system dufs
|
||||
useradd --system dufs
|
||||
mkdir -p /srv/dufs
|
||||
chown dufs:dufs -R /srv/dufs
|
||||
systemctl daemon-reload
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
pkgname="forgejo"
|
||||
arch="amd64"
|
||||
pkgrel=3
|
||||
pkgrel=2
|
||||
pkgver="1.20.1-0"
|
||||
pkgdesc="A painless selfhost git service."
|
||||
url="https://codeberg.org/forgejo/forgejo"
|
||||
|
@ -27,7 +27,7 @@ mkdir -p /var/lib/forgejo
|
|||
mkdir -p /etc/forgejo/conf
|
||||
touch /etc/forgejo/conf/app.ini
|
||||
|
||||
adduser --system git
|
||||
useradd --system git
|
||||
chown -R git:git /var/lib/forgejo /etc/forgejo /etc/forgejo/app.ini
|
||||
|
||||
systemctl daemon-reload
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
pkgname="plik-bin"
|
||||
arch="amd64"
|
||||
pkgrel=3
|
||||
pkgrel=2
|
||||
pkgver="1.3.7"
|
||||
pkgdesc="Plik is a temporary file upload system (Wetransfer like) in Go."
|
||||
_arch="amd64"
|
||||
|
@ -29,7 +29,7 @@ function package {
|
|||
function debian_postinst {
|
||||
cat << EOF
|
||||
#!/usr/bin/env bash
|
||||
adduser --system plik
|
||||
useradd --system plik
|
||||
systemctl daemon-reload
|
||||
EOF
|
||||
}
|
||||
|
|
|
@ -3,22 +3,24 @@
|
|||
pkgname="static-deployer"
|
||||
arch="amd64"
|
||||
pkgver=0.0.6.g7067e8f
|
||||
pkgrel=2
|
||||
pkgrel=1
|
||||
pkgdesc="A simple daemon to deploy static site"
|
||||
url="https://git.leafee98.com/leafee98/static_deployer"
|
||||
maintainer="Leafee98 <me@leafee98.com>"
|
||||
|
||||
source=(
|
||||
"static_deployer::git+https://git.leafee98.com/leafee98/static_deployer.git"
|
||||
"static-deployer.service::materials/static-deployer.service"
|
||||
)
|
||||
|
||||
function pkgver {
|
||||
git -C src/static_deployer describe --tags --long | sed -e 's/^v//; s/-/./g'
|
||||
}
|
||||
|
||||
function pkgver {
|
||||
git -C "${srcdir}/static_deployer" describe --tags --long | sed 's/^v//;s/-/./g'
|
||||
}
|
||||
|
||||
function package {
|
||||
install -Dm755 "${srcdir}/static_deployer/main.py" "${pkgdir}/usr/bin/static-deployer"
|
||||
install -Dm644 "${srcdir}/static-deployer.service" "${pkgdir}/usr/lib/systemd/system/static-deployer.service"
|
||||
install -D "${srcdir}/static_deployer/main.py" "${pkgdir}/usr/bin/static-deployer"
|
||||
}
|
||||
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
[Unit]
|
||||
Description=A simple daemon to deploy static site
|
||||
After=network.target apache2.service
|
||||
|
||||
[Service]
|
||||
# User=www-data
|
||||
# Group=www-data
|
||||
|
||||
ExecStart=/usr/bin/static-deployer --archive-dir /srv/www/blog/archive --extract-dir /srv/www/blog/extract --symlink-path /srv/www/blog/serve --port 8084
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in a new issue