-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* hypernext: (25 commits) changelog use another method to find the apk fix the build try to be arch independent Add cronjob inside the container (#23) add reload service commands to README mv php socket in /run add readme for init changelog fix and readme precision no need for dhparams because we only use ECDHE ciphersuites use dh param from RFC7919 instead of generating our own add php8-intl extension for twig format_datetime changelog and bump composer keep gzip module deeper nginx config, remove many core modules simplify filesystem in src/ rename and mv /run.sh to /usr/sbin/prepare.sh unset aws creds, and header file comment upgrade nginx to 1.21.6 upgrade s6 overlay to v3 ...
- Loading branch information
Showing
23 changed files
with
230 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Contributor: Mark Hills <[email protected]> | ||
# Maintainer: Mark Hills <[email protected]> | ||
# Modified for elabftw/elabimg container | ||
# removed things we don't need and enable pie and relro elf hardening | ||
# we don't want anacron so obstack is not needed | ||
pkgname=cronie | ||
pkgver=1.5.7 | ||
pkgrel=0 | ||
pkgdesc="The standard UNIX daemon crond that runs specified programs at scheduled times" | ||
url="https://github.com/cronie-crond/cronie" | ||
arch="all" | ||
license="ISC" | ||
makedepends="autoconf automake" | ||
options="suid !check" # No testsuite | ||
subpackages="$pkgname-doc" | ||
source="https://github.com/cronie-crond/cronie/releases/download/cronie-$pkgver/cronie-$pkgver.tar.gz" | ||
|
||
build() { | ||
./configure \ | ||
--build="$CBUILD" \ | ||
--host="$CHOST" \ | ||
--prefix=/usr \ | ||
--sysconfdir=/etc \ | ||
--localstatedir=/run \ | ||
--mandir=/usr/share/man \ | ||
--without-pam \ | ||
--without-selinux \ | ||
--without-inotify \ | ||
--disable-anacron \ | ||
--enable-pie \ | ||
--enable-relro \ | ||
SPOOL_DIR=/etc/crontabs | ||
make | ||
} | ||
|
||
package() { | ||
make install DESTDIR="$pkgdir" | ||
} | ||
|
||
sha512sums="c306468d2e8d618a168e55204796f15d845520130d9601395e6413c55a71e94b4264a73e2e3f5d7011b3e53af9dad812f56662de3a7c9e50977d57b2a49a6893 cronie-1.5.7.tar.gz" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nginx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# send elabftw notifications emails every minute | ||
*/1 * * * * /usr/bin/php /elabftw/bin/console notifications:send |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/command/execlineb -P | ||
/usr/sbin/crond -n -m off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Prepare script | ||
|
||
## Description | ||
|
||
This script is run only once when the container starts (oneshot s6 service). | ||
|
||
It adjusts the configuration of nginx, php and elabftw based on environment variables provided. |
Oops, something went wrong.