hyperboria / bugs

Peer-to-peer IPv6 networking, secure and near-zero-conf.
154 stars 17 forks source link

Make cjdns.service report active after TUN has IP #117

Closed Kubuxu closed 8 years ago

Kubuxu commented 8 years ago

It solves problems when you want to run services with After=cjdns.service that want to bind IP provided by cjdns In my case it is nginx that fails to start otherwise. This change will require changes in packaging.

Kubuxu commented 8 years ago

Build fails for some weird reason.

kpcyrd commented 8 years ago

I have mixed feelings about this. This changes install instructions for most plattforms and makes them more complex.

I wrote a patch in cjdelisle/cjdns#917 that adds --bg, if we use this with Type=forking, it should block systemd until the tun is configured and up.

Kubuxu commented 8 years ago

I did not thought about it, it might be better solution.

Kubuxu commented 8 years ago

Resolved