Skip to content

Add basic procd support#4

Open
dartraiden wants to merge 1 commit into
gxcreator:masterfrom
dartraiden:master
Open

Add basic procd support#4
dartraiden wants to merge 1 commit into
gxcreator:masterfrom
dartraiden:master

Conversation

@dartraiden

Copy link
Copy Markdown
Contributor

Первый раз имею дело с написанием скриптов для procd. Что работает:

  • Автозапуск, включение и отключение его средствами LuCi
  • Конфиг в стиле OpenWRT (/erc/config/i2pd). Оставил там пока только работающие ключи

Что не работает:

  • Остановка и перезапуск

@dartraiden

Copy link
Copy Markdown
Contributor Author

И ещё проблема варианта с "родным конфигом" в том, что у меня сабж частично игнорит указанный конфиг.
/etc/i2pd.conf:

port = 12345

[http]
address = 192.168.1.1
port = 7071

[httpproxy]
address = 192.168.1.1
port = 4446

[socksproxy]
address = 192.168.1.1
port = 4447

i2pd --conf=/etc/i2pd.conf
23:35:45/info - i2pd v2.3.0 starting
23:35:45/debug - FS: data directory: /root/.i2pd
23:35:45/debug - Daemon: CMD parameters:
23:35:45/debug - 0: i2pd
23:35:45/debug - 1: --conf=/etc/i2pd.conf
23:35:45/info - Log: min messages level set to info
23:35:45/info - Daemon: staring HTTP Server at 127.0.0.1:7070
23:35:45/info - Daemon: starting NetDB
23:35:45/info - NetDb: 69 routers loaded (18 floodfils)
23:35:45/info - Daemon: starting Transports
23:35:45/info - NTCP: Start listening TCP port 12345
23:35:47/info - Transports: Start listening UDP port 12345

Первую строчку он подхватил, а всё остальное, получается, проигнорировал.

@Shulyaka

Copy link
Copy Markdown

Остановка не работает, потому что i2pd на SIGKILL не выключается, а выжидает 10 минут.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants