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

--- Comment #19 from Terry Fage <[email protected]> ---
JP suggested a slight change to the bridge.service file

# After=network.target
After=network.service

Is working as expected

[root@sme10a5 ~]# cat /usr/lib/systemd/system/bridge.service
[Unit]
Description=Bridge Interface for VPN use.
# After=network.target
After=network.service

[Service]
Type=forking
ExecStart=/sbin/e-smith/systemd/bridge-run start
ExecStop=/sbin/e-smith/systemd/bridge-run stop
RemainAfterExit=true
Type=oneshot

[Install]
WantedBy=sme-server.target

[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: active (exited) since Thu 2021-01-28 03:16:58 AEDT; 2min 56s ago
  Process: 1434 ExecStart=/sbin/e-smith/systemd/bridge-run start (code=exited,
status=0/SUCCESS)
 Main PID: 1434 (code=exited, status=0/SUCCESS)
   Memory: 0B
   CGroup: /system.slice/bridge.service

Jan 28 03:16:49 sme10a5.sme10a5.fage.org systemd[1]: Starting Bridge Interface
for VPN use....
Jan 28 03:16:58 sme10a5.sme10a5.fage.org bridge-run[1434]: Starting Bridge
Service: [  OK  ]
Jan 28 03:16: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.4af68c11603b       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