File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -88,11 +88,6 @@ function init_proc {
88
88
cp /home/bgmi-docker/config/bgmi_nginx.conf $bgmi_nginx_conf
89
89
fi
90
90
91
- if [ ! -z $NO_TRANSMISSION ]; then
92
- sed -i ' /\[program:tran.*$/,/stderr=true/d' /etc/supervisor.d/bgmi_supervisord.ini
93
- sed -i ' /^programs/s/transmission,//g' /etc/supervisor.d/bgmi_supervisord.ini
94
- fi
95
-
96
91
if [ ! -z $OVERRIDE_USER ]; then
97
92
IFS=' :'
98
93
read -a ids <<< " $OVERRIDE_USER"
@@ -111,6 +106,11 @@ function init_proc {
111
106
112
107
sed " s@<USERNAME>@$username @g" /home/bgmi-docker/config/bgmi_supervisord.ini.template > /etc/supervisor.d/bgmi_supervisord.ini
113
108
cp /home/bgmi-docker/config/transmission-daemon /etc/conf.d/transmission-daemon
109
+
110
+ if [ ! -z $NO_TRANSMISSION ]; then
111
+ sed -i ' /\[program:tran.*$/,/stderr=true/d' /etc/supervisor.d/bgmi_supervisord.ini
112
+ sed -i ' /^programs/s/transmission,//g' /etc/supervisor.d/bgmi_supervisord.ini
113
+ fi
114
114
}
115
115
116
116
if [ ! -f $first_lock ]; then
You can’t perform that action at this time.
0 commit comments