-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change scripts to use bash for startup and source /scripts/common. ng…
…ninx as no-daemon
- Loading branch information
1 parent
ebfe0bf
commit d6baeeb
Showing
7 changed files
with
29 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/command/with-contenv sh | ||
# shellcheck shell=sh | ||
#!/command/with-contenv bash | ||
# shellcheck shell=bash | ||
|
||
source /scripts/common | ||
|
||
s6wrap=(s6wrap --quiet --prepend="$(basename "$0")" --timestamps --args) | ||
"${s6wrap[@]}" s6-setuidgid "$WEBUSER" php /var/www/flightairmap/htdocs/scripts/daemon-acars.php |
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/command/with-contenv sh | ||
# shellcheck shell=sh | ||
#!/command/with-contenv bash | ||
# shellcheck shell=bash | ||
|
||
source /scripts/common | ||
|
||
s6wrap=(s6wrap --quiet --prepend="$(basename "$0")" --timestamps --args) | ||
"${s6wrap[@]}" s6-setuidgid "$WEBUSER" php /var/www/flightairmap/htdocs/scripts/daemon-spotter.php |
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/command/with-contenv sh | ||
# shellcheck shell=sh | ||
#!/command/with-contenv bash | ||
# shellcheck shell=bash | ||
|
||
source /scripts/common | ||
|
||
s6wrap=(s6wrap --quiet --prepend="$(basename "$0")" --timestamps --args) | ||
"${s6wrap[@]}" /usr/sbin/nginx | ||
"${s6wrap[@]}" /usr/sbin/nginx -g 'daemon 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/command/with-contenv sh | ||
# shellcheck shell=sh | ||
#!/command/with-contenv bash | ||
# shellcheck shell=bash | ||
|
||
source /scripts/common | ||
|
||
s6wrap=(s6wrap --quiet --prepend="$(basename "$0")" --timestamps --args) | ||
"${s6wrap[@]}" /usr/sbin/php-fpm7.4 --nodaemonize |
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