[Unit]
Description=babeld on %I
Wants=network.target
Before=network.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device

[Service]
Type=forking
PIDFile=/run/babeld-%I.pid
ExecStart=/usr/bin/babeld -D -I /run/babeld-%I.pid -S /var/lib/babel-state-%I -c /etc/babeld-%I.conf %I

[Install]
WantedBy=multi-user.target
