Hi,
I hope this will help. I'm not a systemd expert but am learning.
I've taken this suggestion from
an Arch Linux forum posting. I found it via Google. Code:
$this->bbcode_second_pass_code('', '
/etc/systemd/system/interface-up@.service:
[Unit]
Requires=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device
[Service]
Type=oneshot
ExecStart=REPLACE WITH SCRIPT FILENAME OR COMMAND TO RUN
[Install]
WantedBy=multi-user.target
# systemctl daemon-reload
# systemctl enable interface-up@eth0
')
Note that this is similar to dhcpcd@.service, netctl-auto@.service, netctl-ifplugd@.service. If this doesn't work out-of-the-box maybe this will be enough to help you figure out how to get it working. Cheers!
Clemmitt