mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 13:03:02 +02:00
By declaring the service as manually configured, we can control it from dagger (confd) without the indirection via a condition. This has the benefit of mstpd being in the "stopped", rather than the somewhat confusing "waiting", state when not running. Fixes #890
10 lines
449 B
Plaintext
10 lines
449 B
Plaintext
# A single mstpd instance can manage multiple bridges, which are
|
|
# dynamically added/removed by the kernel via the /sbin/bridge-stp
|
|
# usermode helper. We use a manual service so that confd can
|
|
# enable/disable it without an initctl barrier, since it needs to
|
|
# already be running when a bridge interface with spanning tree
|
|
# enabled is created.
|
|
|
|
service env:-/etc/default/mstpd manual:yes \
|
|
[S0123456789] mstpd $MSTPD_ARGS -- Spanning Tree daemon
|