Остання активність 1738797078

Quick easy backup proxy host info *under conditions

sysadmin's Avatar sysadmin ревизій цього gist 1738797077. До ревизії

1 file changed, 10 insertions

README.md(файл створено)

@@ -0,0 +1,10 @@
1 + I've had npm instances completely implode on me before and hated having to remember all the proxy hosts.
2 + If you can still access the npm system and the sqlite file you can run this command to get a list displayed.
3 +
4 +
5 + sqlite3 /data/database.sqlite "SELECT id, domain_names, forward_host, forward_port FROM proxy_host;"
6 +
7 +
8 + if sqlite isn't installed (some containers use just a sqlite file), install it:
9 +
10 + sudo apt -y install sqlite3
Новіше Пізніше