-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i2pd: does not start with init script #10977
Comments
I assume the pidfile functionality can be removed since this is using procd. edit: never mind. |
Ran init script through shellcheck. Simplified several statements. Replaced INSTALL_CONF with INSTALL_DATA. i2pd runs as non-root and so the conf file must be accessible. Fixed: openwrt#10977 Signed-off-by: Rosen Penev <rosenp@gmail.com>
Same issue in OpenWrt 19.07.
|
Would be good to backport that commit. |
Change i2pd in /etc/init.d/ to: #!/bin/sh /etc/rc.common Copyright (C) 2017 OpenWrt.orgUSE_PROCD=1 START=90 default paramsPROG=/usr/sbin/i2pd . /lib/functions.sh start_service() {
config_get data_dir i2pd data_dirconfig_get addressbook_dir i2pd addressbook_dir
} There is no errors at service starting but it can't connect to any i2p-router. So it doesn't work anyway |
Maintainer: @yangfl
Environment: Turris Omnia, mvebu (cortex-a9), OpenWrt master
Description:
I can start it without init script just fine.
The text was updated successfully, but these errors were encountered: