You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echoerr "Unable to automatically configure nginx for Longview. Please see https://library.linode.com/longview/longview-for-nginx#sph_manual-configuration-all-distributions"
131
-
db_set Longivew/nginx-location ""
131
+
db_set Longview/nginx-location ""
132
132
return 0
133
133
fi
134
134
135
135
# this is kind of weird
136
136
# check to make sure that the haxor mode is gonna work
137
137
if grep -ri '^[[:space:]]*server_name.*127\.0\.0\.2' /etc/nginx/sites-enabled;then
138
138
echoerr "Unable to automatically configure nginx for Longview. Please see https://library.linode.com/longview/longview-for-nginx#sph_manual-configuration-all-distributions"
139
-
db_set Longivew/nginx-location ""
139
+
db_set Longview/nginx-location ""
140
140
return 0
141
141
fi
142
142
143
143
if [ -e /etc/nginx/sites-available/longview ];then
144
144
if _check_nginx_url http://127.0.0.2/nginx_status;then
145
145
echoerr "Found location configured by Longview previously."
echoerr "Unable to automatically configure nginx for Longview. Please see https://library.linode.com/longview/longview-for-nginx#sph_manual-configuration-all-distributions"
150
-
db_set Longivew/nginx-location ""
150
+
db_set Longview/nginx-location ""
151
151
return 0
152
152
fi
153
153
db_input high Longview/nginx-try-configure ||true
@@ -163,7 +163,7 @@ mysql_cred_check() {
163
163
if [ !-z$mysql_username ] && [ !-z$mysql_password ];then
164
164
if _mysql_check_install $mysql_username$mysql_password;then
165
165
echoerr "Successfully connected to MySQL with the credentials located in $mysql_config_filename"
166
-
db_set Longivew/mysql-password ""
166
+
db_set Longview/mysql-password ""
167
167
return 0
168
168
else
169
169
echoerr "Unable to connect using the credentials specified in $mysql_config_filename...trying Debian maintenance user"
@@ -174,7 +174,7 @@ mysql_cred_check() {
174
174
mysql_password=$(egrep '^\s*password\s*=\s*' /etc/mysql/debian.cnf | head -n1 | sed 's/^\s*password\s*=\s*//')
175
175
if _mysql_check_install debian-sys-maint $mysql_password;then
176
176
echoerr "Successfully connected to MySQL"
177
-
db_set Longivew/mysql-password ""
177
+
db_set Longview/mysql-password ""
178
178
if [ !-z$mysql_username ] && [ !-z$mysql_password ];then
0 commit comments