fieat: sube versión de Koha
This commit is contained in:
7
koha/files/etc/s6-overlay/s6-rc.d/apache2/run
Executable file
7
koha/files/etc/s6-overlay/s6-rc.d/apache2/run
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/command/execlineb -P
|
||||
fdmove -c 2 1
|
||||
|
||||
trap { SIGTERM { apache2ctl stop }
|
||||
SIGHUP { apache2ctl graceful } }
|
||||
|
||||
apache2ctl -D "FOREGROUND"
|
||||
1
koha/files/etc/s6-overlay/s6-rc.d/apache2/type
Normal file
1
koha/files/etc/s6-overlay/s6-rc.d/apache2/type
Normal file
@@ -0,0 +1 @@
|
||||
longrun
|
||||
3
koha/files/etc/s6-overlay/s6-rc.d/cron/run
Executable file
3
koha/files/etc/s6-overlay/s6-rc.d/cron/run
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/command/execlineb -P
|
||||
fdmove -c 2 1
|
||||
/usr/sbin/cron -f -L 5
|
||||
1
koha/files/etc/s6-overlay/s6-rc.d/cron/type
Normal file
1
koha/files/etc/s6-overlay/s6-rc.d/cron/type
Normal file
@@ -0,0 +1 @@
|
||||
longrun
|
||||
6
koha/files/etc/s6-overlay/s6-rc.d/plack/run
Executable file
6
koha/files/etc/s6-overlay/s6-rc.d/plack/run
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/command/execlineb -P
|
||||
fdmove -c 2 1
|
||||
|
||||
s6-envdir /etc/koha-envvars
|
||||
|
||||
/usr/bin/starman -M FindBin --socket /var/run/koha/default/plack.sock --max-requests 50 --workers 2 -E deployment --user=default-koha --group=default-koha --access-log /var/log/koha/default/plack.log --error-log /var/log/koha/default/plack-error.log "/etc/koha/plack.psgi"
|
||||
1
koha/files/etc/s6-overlay/s6-rc.d/plack/type
Normal file
1
koha/files/etc/s6-overlay/s6-rc.d/plack/type
Normal file
@@ -0,0 +1 @@
|
||||
longrun
|
||||
1
koha/files/etc/s6-overlay/s6-rc.d/prepare-koha/type
Normal file
1
koha/files/etc/s6-overlay/s6-rc.d/prepare-koha/type
Normal file
@@ -0,0 +1 @@
|
||||
oneshot
|
||||
1
koha/files/etc/s6-overlay/s6-rc.d/prepare-koha/up
Executable file
1
koha/files/etc/s6-overlay/s6-rc.d/prepare-koha/up
Executable file
@@ -0,0 +1 @@
|
||||
/etc/s6-overlay/scripts/02-setup-koha.sh
|
||||
1
koha/files/etc/s6-overlay/s6-rc.d/prepare/type
Normal file
1
koha/files/etc/s6-overlay/s6-rc.d/prepare/type
Normal file
@@ -0,0 +1 @@
|
||||
bundle
|
||||
9
koha/files/etc/s6-overlay/s6-rc.d/worker-long-tasks/run
Executable file
9
koha/files/etc/s6-overlay/s6-rc.d/worker-long-tasks/run
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/command/execlineb -P
|
||||
|
||||
fdmove -c 2 1
|
||||
|
||||
s6-envdir /etc/koha-envvars
|
||||
|
||||
s6-setuidgid default-koha
|
||||
|
||||
/usr/bin/perl /usr/share/koha/bin/workers/background_jobs_worker.pl --queue long_tasks
|
||||
1
koha/files/etc/s6-overlay/s6-rc.d/worker-long-tasks/type
Normal file
1
koha/files/etc/s6-overlay/s6-rc.d/worker-long-tasks/type
Normal file
@@ -0,0 +1 @@
|
||||
longrun
|
||||
9
koha/files/etc/s6-overlay/s6-rc.d/worker/run
Executable file
9
koha/files/etc/s6-overlay/s6-rc.d/worker/run
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/command/execlineb -P
|
||||
|
||||
fdmove -c 2 1
|
||||
|
||||
s6-envdir /etc/koha-envvars
|
||||
|
||||
s6-setuidgid default-koha
|
||||
|
||||
/usr/bin/perl /usr/share/koha/bin/workers/background_jobs_worker.pl
|
||||
1
koha/files/etc/s6-overlay/s6-rc.d/worker/type
Normal file
1
koha/files/etc/s6-overlay/s6-rc.d/worker/type
Normal file
@@ -0,0 +1 @@
|
||||
longrun
|
||||
16
koha/files/etc/s6-overlay/s6-rc.d/zebra-indexer/run
Executable file
16
koha/files/etc/s6-overlay/s6-rc.d/zebra-indexer/run
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/command/execlineb -P
|
||||
with-contenv
|
||||
|
||||
importas -D "" elastic USE_ELASTICSEARCH
|
||||
|
||||
if -n { test "${elastic}" = "true" }
|
||||
|
||||
redirfd -a 1 /var/log/koha/default/zebra-indexer.log
|
||||
|
||||
fdmove -c 2 1
|
||||
|
||||
s6-envdir /etc/koha-envvars
|
||||
|
||||
s6-setuidgid default-koha
|
||||
|
||||
/usr/bin/perl /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -daemon -sleep 5
|
||||
1
koha/files/etc/s6-overlay/s6-rc.d/zebra-indexer/type
Normal file
1
koha/files/etc/s6-overlay/s6-rc.d/zebra-indexer/type
Normal file
@@ -0,0 +1 @@
|
||||
longrun
|
||||
15
koha/files/etc/s6-overlay/s6-rc.d/zebra-server/run
Executable file
15
koha/files/etc/s6-overlay/s6-rc.d/zebra-server/run
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/command/execlineb -P
|
||||
with-contenv
|
||||
|
||||
importas -D "" elastic USE_ELASTICSEARCH
|
||||
|
||||
if -n { test "${elastic}" = "true" }
|
||||
|
||||
fdmove -c 2 1
|
||||
|
||||
s6-envdir /etc/koha-envvars
|
||||
|
||||
s6-setuidgid default-koha
|
||||
|
||||
/usr/bin/zebrasrv -v 1 -f /etc/koha/sites/default/koha-conf.xml
|
||||
|
||||
1
koha/files/etc/s6-overlay/s6-rc.d/zebra-server/type
Normal file
1
koha/files/etc/s6-overlay/s6-rc.d/zebra-server/type
Normal file
@@ -0,0 +1 @@
|
||||
longrun
|
||||
Reference in New Issue
Block a user