15 lines
207 B
Bash
15 lines
207 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
set -ex
|
||
|
|
||
|
case $1 in
|
||
|
rss-bridge)
|
||
|
exec su-exec rssbridge php-fpm7 -F
|
||
|
;;
|
||
|
nginx)
|
||
|
exec nginx -g 'daemon off;'
|
||
|
;;
|
||
|
*)
|
||
|
exec su-exec rssbridge "$@"
|
||
|
esac
|