https://bugs.contribs.org/show_bug.cgi?id=11324

--- Comment #15 from Terry Fage <[email protected]> ---
With service file bridge.service like this, 

Unit]
Description=Bridge Interface for VPN use.
After=network.target

[Service]
Type=forking
EnvironmentFile=-/sbin/e-smith/systemd
#ExecStop=/sbin/e-smith/systemd/bridge-run stop
ExecStart=/sbin/e-smith/systemd/bridge-run start
Restart=on-failure

[Install]
WantedBy=sme-server.target

on reboot

[root@sme10a5 ~]# config show bridge
bridge=service
    bridgeInterface=br0
    ethernetInterface=eth0
    status=enabled
    tapInterface=tap0

[root@sme10a5 ~]# systemctl status bridge.service
● bridge.service - Bridge Interface for VPN use.
   Loaded: loaded (/usr/lib/systemd/system/bridge.service; enabled; vendor
preset: enabled)
   Active: inactive (dead) since Sun 2021-01-24 12:10:58 AEDT; 35min ago
  Process: 1010 ExecStart=/sbin/e-smith/systemd/bridge-run start (code=exited,
status=0/SUCCESS)

Jan 24 12:10:49 sme10a5.sme10a5.fage.org systemd[1]: Starting Bridge Interface
for VPN use....
Jan 24 12:10:58 sme10a5.sme10a5.fage.org bridge-run[1010]: Starting Bridge
Service: [  OK  ]
Jan 24 12:10:58 sme10a5.sme10a5.fage.org systemd[1]: Started Bridge Interface
for VPN use..

[root@sme10a5 ~]# brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.f6cd4d867e57       no              eth0
                                                        tap0

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to