Many updates.
This commit is contained in:
parent
a3a0d1b51c
commit
7ccb1aa296
37 changed files with 96 additions and 43 deletions
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