scion-backbone / sbas

Prototype implementation for the Secure Backbone AS (SBAS) routing system.
0 stars 1 forks source link

Improve systemd integration #12

Closed joelwanner closed 3 years ago

joelwanner commented 3 years ago

I'm not sure that the setup we have right now really conforms with standard systemd best practices. We might want to refactor the scripts into a single entry point.

Also, we need to check if the dependency relationship with the scionlab.target unit – does the SIG routing setup work properly on restarts?

joelwanner commented 3 years ago

For instance, a problem with the current setup is that docker-compose is called with the -d (detach) flag. Like this, any output from the docker container not stored in the systemd logs.

joelwanner commented 3 years ago

13 is also related to this.

joelwanner commented 3 years ago

It might help to split up the sbas.service unit into subcomponents, such as the Docker container and the routing logic?