> Package: orphan-sysvinit-scripts > Version: 0.15 > Severity: important > > Dear Maintainer, > > I installed dnscrypt-proxy alongside orphan-sysvinit-scripts. The > service does not start however. The script included in o-s-s passes > the -daemonize flag in line 44. This flag does not exist however on the > sid version of dnscrypt-proxy, thus rendering the script broken.> The systemd unit just calls this: "/usr/sbin/dnscrypt-proxy -config /etc/dnscrypt-proxy/dnscrypt-proxy.toml".
> > Trying to reproduce that by amending the init script [see attachment] > tries to start the service but fails because listen_addresses is empty. > This is as far as I got trying to get the service to run.
attached script seems to work under openRC (copied from alpine and modified).
best, -- Matthias Geiger <werdahias> Debian Maintainer "Freiheit ist immer Freiheit des anders Denkenden" -- Rosa Luxemburg
#!/sbin/openrc-run # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 supervisor=supervise-daemon command="/usr/sbin/dnscrypt-proxy" command_args="-config /etc/dnscrypt-proxy/dnscrypt-proxy.toml" pidfile="/run/${RC_SVCNAME}.pid" command_background="yes" depend() { use net logger provide dns } start_pre() { checkpath -q -d -m 0775 -o "${command_user}" \ /var/cache/"${RC_SVCNAME}" \ /var/log/"${RC_SVCNAME}" setcap cap_net_bind_service=+ep "${command}" }
OpenPGP_0x18BD106B3B6C5475.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature