Skip to content

Commit 2131ae7

Browse files
authored
v2.1.1 (#26)
Minor updates * Don't export BF_E in library scripts * Don't override environment in library scripts * Fixing shebang and user in php-clean-sessions * Clean sessions every hour
1 parent ea1aa53 commit 2131ae7

4 files changed

Lines changed: 15 additions & 5 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.0
1+
2.1.1
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/command/with-contenv bash
2+
3+
set -euo pipefail
4+
export BF_E=`basename ${0}`
5+
6+
7+
#======================================================================================================================
8+
# Call php-clean-sessions executable.
9+
#======================================================================================================================
10+
11+
php-clean-sessions
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/with-contenv bash
1+
#!/command/with-contenv bash
22

33
set -euo pipefail
44
export BF_E=`basename ${0}`
@@ -8,4 +8,4 @@ export BF_E=`basename ${0}`
88
# Run clean-sessions executable.
99
#======================================================================================================================
1010

11-
s6-setuidgid www ${PHP_LIB}/clean-sessions
11+
s6-setuidgid apache ${PHP_LIB}/clean-sessions

overlay/usr/lib/bf/php/clean-sessions

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
#!/command/with-contenv bash
1+
#!/bin/bash
22

33
set -euo pipefail
4-
export BF_E=`basename ${0}`
54

65

76
#======================================================================================================================

0 commit comments

Comments
 (0)