Many updates.
This commit is contained in:
parent
a3a0d1b51c
commit
7ccb1aa296
37 changed files with 96 additions and 43 deletions
3
etc/.gitignore
vendored
3
etc/.gitignore
vendored
|
@ -28,8 +28,8 @@
|
|||
/exports
|
||||
/exports.d/
|
||||
/fonts/
|
||||
/forgejo.conf
|
||||
/gai.conf
|
||||
/gitea.conf
|
||||
/gprofng.rc
|
||||
/group-
|
||||
/grub.d/
|
||||
|
@ -69,6 +69,7 @@
|
|||
/protocols
|
||||
/resolv.conf
|
||||
/rpc
|
||||
/rsyncd.conf
|
||||
/screenrc
|
||||
/securetty
|
||||
/security/
|
||||
|
|
|
@ -305,9 +305,9 @@ DirectoryIndex disabled
|
|||
</Directory>
|
||||
</IfModule>
|
||||
|
||||
<Directory /data/www/html>
|
||||
<Directory /data/var/www/html>
|
||||
Options Includes MultiViews SymLinksIfOwnerMatch
|
||||
AllowOverride AuthConfig FileInfo Indexes Limit
|
||||
AllowOverride AuthConfig FileInfo Indexes Limit Options
|
||||
|
||||
Require all granted
|
||||
|
||||
|
@ -336,7 +336,7 @@ DirectoryIndex disabled
|
|||
</Directory>
|
||||
|
||||
<IfModule cgid_module>
|
||||
<Directory /data/www/cgi-bin/>
|
||||
<Directory /data/var/www/cgi-bin/>
|
||||
Options ExecCGI Includes MultiViews SymLinksIfOwnerMatch
|
||||
AllowOverride AuthConfig FileInfo Limit
|
||||
|
||||
|
|
|
@ -55,11 +55,11 @@
|
|||
RedirectMatch permanent ^/(?!(\.well-known|httpd-errordocs)/)(.*) https://afterdark.org.uk/$2
|
||||
</IfModule>
|
||||
<IfModule !ssl_module>
|
||||
ScriptAlias /cgi-bin/ /data/www/cgi-bin/
|
||||
ScriptAlias /cgi-bin/ /data/var/www/cgi-bin/
|
||||
|
||||
DocumentRoot /data/www/html/
|
||||
DocumentRoot /data/var/www/html/
|
||||
|
||||
CustomLog /data/www/logs/httpd-access VHostCombined env=!no_log
|
||||
CustomLog /data/var/www/logs/httpd-access VHostCombined env=!no_log
|
||||
|
||||
<Proxy *>
|
||||
Require all granted
|
||||
|
@ -67,8 +67,8 @@
|
|||
# Do NOT add backslashes to the end of the urls.
|
||||
ProxyPass /git http://127.0.0.1:9100
|
||||
ProxyPassReverse /git http://127.0.0.1:9100
|
||||
ProxyPass /terrastate http://127.0.0.1:9200
|
||||
ProxyPassReverse /terrastate http://127.0.0.1:9200
|
||||
ProxyPass /ts http://127.0.0.1:9200
|
||||
ProxyPassReverse /ts http://127.0.0.1:9200
|
||||
|
||||
<IfModule userdir_module>
|
||||
UserDir /data/home/*/www/html
|
||||
|
@ -90,11 +90,11 @@
|
|||
SetEnvIf REQUEST_URI ^/robots\.txt$ no_log
|
||||
SetEnvIf REQUEST_URI ^/favicon\.ico$ no_log
|
||||
|
||||
ScriptAlias /cgi-bin/ /data/www/cgi-bin/
|
||||
ScriptAlias /cgi-bin/ /data/var/www/cgi-bin/
|
||||
|
||||
DocumentRoot /data/www/html/
|
||||
DocumentRoot /data/var/www/html/
|
||||
|
||||
CustomLog /data/www/logs/httpd-access VHostCombined env=!no_log
|
||||
CustomLog /data/var/www/logs/httpd-access VHostCombined env=!no_log
|
||||
|
||||
<Proxy *>
|
||||
Require all granted
|
||||
|
@ -102,8 +102,8 @@
|
|||
# Dot NOT add backslashes to the end of the urls.
|
||||
ProxyPass /git http://127.0.0.1:9100
|
||||
ProxyPassReverse /git http://127.0.0.1:9100
|
||||
ProxyPass /terrastate http://127.0.0.1:9200
|
||||
ProxyPassReverse /terrastate http://127.0.0.1:9200
|
||||
ProxyPass /ts http://127.0.0.1:9200
|
||||
ProxyPassReverse /ts http://127.0.0.1:9200
|
||||
|
||||
<IfModule userdir_module>
|
||||
UserDir /data/home/*/www/html
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
home -vers=4,hard,acl,rw,fsc 192.168.67.245:/home
|
||||
media -vers=4,hard,acl,rw,fsc 192.168.67.245:/data/media
|
||||
gitea -vers=4,hard,acl,rw,fsc 192.168.67.245:/data/gitea
|
||||
gitroot -vers=4,hard,acl,rw,fsc 192.168.67.245:/data/gitroot
|
||||
slackware -vers=4,hard,acl,rw,fsc 192.168.67.245:/data/slackware
|
||||
tmp -vers=4,hard,acl,rw,fsc 192.168.67.245:/data/tmp
|
||||
www -vers=4,hard,acl,rw,fsc 192.168.67.245:/data/www
|
||||
var -vers=4,hard,acl,rw,fsc 192.168.67.245:/data/var
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
/opt/bin/cronjob-dehdrated
|
1
etc/cron.daily/cronjob-dehydrated
Symbolic link
1
etc/cron.daily/cronjob-dehydrated
Symbolic link
|
@ -0,0 +1 @@
|
|||
/opt/bin/cronjob-dehydrated
|
7
etc/default/terraform-http-backend
Normal file
7
etc/default/terraform-http-backend
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Note: must include / on the end!
|
||||
export TF_STORAGE_DIR=/data/var/terraform-http-backend/
|
||||
export TF_AUTH_ENABLED=false
|
||||
# export TF_USERNAME=admin
|
||||
# export TF_PASSWORD=admin
|
||||
export TF_PORT=9200
|
||||
export TF_IP=127.0.0.1
|
BIN
etc/forgejo.conf.gpg
Normal file
BIN
etc/forgejo.conf.gpg
Normal file
Binary file not shown.
Binary file not shown.
|
@ -34,5 +34,5 @@ ntpd:x:997:
|
|||
rpc:x:996:
|
||||
_mlocate:x:995:
|
||||
_apache:x:994:
|
||||
_gitea:x:993:
|
||||
_terrastate:x:992:
|
||||
_forgejo:x:993:
|
||||
_ts:x:992:
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
Œ
b§cù¡$òÒÀ>B¤ýî0‚~J˜:ߟâX…½ÿ\M¼ Û3Vø½-°34ùŒúU…%‰8œ–=§ðßYÑ¥ñáøèj*Y¿£gÓïІW÷µOšâIõq0Y'rÄA<ý£Ý*m§bÓ:…^HÑ
|
||||
è+<Ÿeñ‹ZUÿ¬‰Yß²Æë“ª”<C2AA>k‰ëСv#Y3¿Ì^Ær}æe¸z #‘
|
||||
ES9,‡ÿÄv¦½çûJð¬sæ¢WÇš`š=<3D>dÓè#—Á]osœÔ]ä.qÀP’RÌ{û·Çv—õH²×A^ðÖvsŽ*ç4ÇgümêÝÑŸàð…=
|
||||
<EFBFBD>
c»¿”ת בעְׂ>Dב-<2D>פ8<D7A4>צ]ֵב¬¸ך<C2B8>ֳ<>ְ <09>₪zd*‡<><E280A1>ִ•<D6B4>ע”·^y0<>?A׀k<D780>לוּ°°ב'o”ֱsֹb·Bc1k2jֶם†חT'PV¥w×o%]¯"ָ׀¼0+Hֻ,G/;9¡<C2A1>`R±שב0ׂT2>{"<22>¯׃o]כ#אח¡<D797>×¹3Pד-<2D>ֻKזֳk<D6B3>°<EFBFBD>bµrM«¨<C2AB>ֶ/·ׂ<C2B7>ֻF£?MW]<5D>µ!ֿקכ<D7A7>T<05><0’D(לVh¾<68>E£‰<C2A3>TPY:!דו¼z´<C2B4>7{!׃·<D783>gזתֽ¼ <20>³הC¼Q^<5E>»Wַ€ּעסL<12>)ײs’0<E28099>]<5D><>*
|
|
@ -7,5 +7,5 @@ ntpd:x:997:997:ntpd unprivileged user:/var/db/ntpd:/sbin/nologin
|
|||
rpc:x:996:996:rpc unprivileged user:/var/empty:/sbin/nologin
|
||||
_mlocate:x:995:995:_mlocate unprivileged user:/var/empty:/sbin/nologin
|
||||
_apache:x:994:994:_apache unprivileged user:/srv/www/apache:/sbin/nologin
|
||||
_gitea:x:993:993:_gitea unprivileged user:/var/lib/gitea:/bin/bash
|
||||
_terrastate:x:992:992:_terrastate unprivileged user:/var/lib/terrastate:/sbin/nologin
|
||||
_forgejo:x:993:993:_forgejo unprivileged user:/var/lib/forgejo:/bin/bash
|
||||
_ts:x:992:992:_ts unprivileged user:/var/lib/ts:/bin/bash
|
||||
|
|
1
etc/php8.2/.gitignore
vendored
1
etc/php8.2/.gitignore
vendored
|
@ -1 +0,0 @@
|
|||
*.default
|
1
etc/php8.3/.gitignore
vendored
Normal file
1
etc/php8.3/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/*.orig
|
1
etc/php8.3/php-fpm.d/.gitignore
vendored
Normal file
1
etc/php8.3/php-fpm.d/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/*.orig
|
43
etc/pkglist
43
etc/pkglist
|
@ -21,6 +21,9 @@ bash
|
|||
bc
|
||||
bind-libs
|
||||
bind-utils
|
||||
binutils
|
||||
binutils-doc
|
||||
binutils-libs
|
||||
brltty
|
||||
brotli
|
||||
btrfs-progs
|
||||
|
@ -67,7 +70,7 @@ gawk
|
|||
gdbm
|
||||
gdk-pixbuf
|
||||
git
|
||||
gitea
|
||||
git-lfs
|
||||
glib
|
||||
glibc
|
||||
glibc-locales
|
||||
|
@ -75,6 +78,7 @@ glibmm
|
|||
gmp
|
||||
gnupg
|
||||
gnutls
|
||||
go
|
||||
graphite
|
||||
grep
|
||||
grub
|
||||
|
@ -131,8 +135,10 @@ libargon2
|
|||
libaspell
|
||||
libassuan
|
||||
libasyncns
|
||||
libatomic
|
||||
libblkid
|
||||
libbluetooth
|
||||
libbpf
|
||||
libcap
|
||||
libcap-ng
|
||||
libcap-progs
|
||||
|
@ -143,6 +149,7 @@ libcups
|
|||
libcurl
|
||||
libdatrie
|
||||
libdb
|
||||
libdebuginfod
|
||||
libdrm
|
||||
libedit
|
||||
libefivar
|
||||
|
@ -172,6 +179,7 @@ libjpeg-turbo
|
|||
libkeyutils
|
||||
libkmod
|
||||
libksba
|
||||
liblastlog2
|
||||
libldap
|
||||
libldns
|
||||
libltdl
|
||||
|
@ -197,6 +205,7 @@ libpciaccess
|
|||
libpcre
|
||||
libpcre2
|
||||
libpng
|
||||
libpsl
|
||||
libpulseaudio
|
||||
libreadline8
|
||||
librsvg
|
||||
|
@ -230,6 +239,9 @@ libvoikko
|
|||
libvorbis
|
||||
libxbps
|
||||
libxcb
|
||||
libxcrypt
|
||||
libxcrypt-compat
|
||||
libxcrypt-devel
|
||||
libxkbcommon
|
||||
libxkbfile
|
||||
libxml2
|
||||
|
@ -245,9 +257,11 @@ linux-firmware-intel
|
|||
linux-firmware-network
|
||||
linux-firmware-nvidia
|
||||
linux6.5
|
||||
linux6.6
|
||||
logrotate
|
||||
lowdown
|
||||
lsof
|
||||
lua54
|
||||
lvm2
|
||||
lynx
|
||||
lzo
|
||||
|
@ -313,24 +327,25 @@ php-snmp
|
|||
php-sqlite
|
||||
php-tidy
|
||||
php-xsl
|
||||
php8.2
|
||||
php8.2-cgi
|
||||
php8.2-enchant
|
||||
php8.2-fpm
|
||||
php8.2-intl
|
||||
php8.2-ldap
|
||||
php8.2-mysql
|
||||
php8.2-odbc
|
||||
php8.2-snmp
|
||||
php8.2-sqlite
|
||||
php8.2-tidy
|
||||
php8.2-xsl
|
||||
php8.3
|
||||
php8.3-cgi
|
||||
php8.3-enchant
|
||||
php8.3-fpm
|
||||
php8.3-intl
|
||||
php8.3-ldap
|
||||
php8.3-mysql
|
||||
php8.3-odbc
|
||||
php8.3-snmp
|
||||
php8.3-sqlite
|
||||
php8.3-tidy
|
||||
php8.3-xsl
|
||||
pick
|
||||
pinentry
|
||||
pinfo
|
||||
pixman
|
||||
popt
|
||||
procps-ng
|
||||
public-suffix
|
||||
python3
|
||||
python3-pip
|
||||
python3-setuptools
|
||||
|
@ -352,6 +367,8 @@ sqlite
|
|||
sshguard
|
||||
sudo
|
||||
tar
|
||||
terraform
|
||||
tflint
|
||||
thin-provisioning-tools
|
||||
tiff
|
||||
traceroute
|
||||
|
|
1
etc/runit/runsvdir/default/forgejo
Symbolic link
1
etc/runit/runsvdir/default/forgejo
Symbolic link
|
@ -0,0 +1 @@
|
|||
/etc/sv/forgejo
|
|
@ -1 +0,0 @@
|
|||
/etc/sv/gitea
|
|
@ -1 +0,0 @@
|
|||
/etc/sv/php-fpm8.2
|
1
etc/runit/runsvdir/default/php-fpm8.3
Symbolic link
1
etc/runit/runsvdir/default/php-fpm8.3
Symbolic link
|
@ -0,0 +1 @@
|
|||
/etc/sv/php-fpm8.3
|
1
etc/runit/runsvdir/default/terraform-http-backend
Symbolic link
1
etc/runit/runsvdir/default/terraform-http-backend
Symbolic link
|
@ -0,0 +1 @@
|
|||
/etc/sv/terraform-http-backend
|
|
@ -1 +0,0 @@
|
|||
umount -f -r -a -t nosysfs,noproc,nodevtmpfs,notmpfs
|
5
etc/runit/shutdown.d/75-unmount-remote.sh
Normal file
5
etc/runit/shutdown.d/75-unmount-remote.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
msg "Unmounting remote filesystems..."
|
||||
|
||||
sync
|
||||
|
||||
umount -l -r -t nfs,nfs4
|
BIN
etc/shadow.gpg
BIN
etc/shadow.gpg
Binary file not shown.
2
etc/sv/.gitignore
vendored
2
etc/sv/.gitignore
vendored
|
@ -32,7 +32,7 @@
|
|||
/mdadm/
|
||||
/nfs-server/
|
||||
/ntpd
|
||||
/php-fpm8.2/
|
||||
/php-fpm8.3/
|
||||
/rpcbind/
|
||||
/rpcblkmapd/
|
||||
/rpcgssd/
|
||||
|
|
1
etc/sv/forgejo/.gitignore
vendored
Normal file
1
etc/sv/forgejo/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/supervise
|
1
etc/sv/forgejo/log/.gitignore
vendored
Normal file
1
etc/sv/forgejo/log/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/supervise
|
2
etc/sv/forgejo/log/run
Executable file
2
etc/sv/forgejo/log/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec vlogger -t forgejo -p daemon
|
13
etc/sv/forgejo/run
Executable file
13
etc/sv/forgejo/run
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
# USER and HOME are needed because gitea doesn't actually check the user it
|
||||
# runs as, but instead just grabs the variables from the variables.
|
||||
export USER=_forgejo
|
||||
export HOME=/data/var/forgejo
|
||||
|
||||
# gitea needs to run from its home for SSH to work properly
|
||||
export GITEA_WORK_DIR="${HOME}"
|
||||
|
||||
cd "${HOME}"
|
||||
exec chpst -u _forgejo:_forgejo /opt/bin/forgejo web --config /etc/forgejo.conf 2>&1
|
1
etc/sv/terraform-http-backend/.gitignore
vendored
Normal file
1
etc/sv/terraform-http-backend/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/supervise
|
1
etc/sv/terraform-http-backend/conf
Symbolic link
1
etc/sv/terraform-http-backend/conf
Symbolic link
|
@ -0,0 +1 @@
|
|||
/etc/default/terraform-http-backend
|
1
etc/sv/terraform-http-backend/log/.gitignore
vendored
Normal file
1
etc/sv/terraform-http-backend/log/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/supervise
|
2
etc/sv/terraform-http-backend/log/run
Executable file
2
etc/sv/terraform-http-backend/log/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec vlogger -t terraform-http-backend -p daemon
|
4
etc/sv/terraform-http-backend/run
Executable file
4
etc/sv/terraform-http-backend/run
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf ] && . ./conf
|
||||
exec chpst -u _ts:_ts /opt/bin/terraform-http-backend 2>&1
|
Loading…
Add table
Add a link
Reference in a new issue