
According to documentation, the proper way to start a service after the network comes up, is add After and Wants on the default file. Change-Id: Ibf252426210fcb1716dae918266d988a36ccbbb6
14 lines
276 B
Desktop File
14 lines
276 B
Desktop File
[Unit]
|
|
Description=Create bridge for infra cloud
|
|
After=glean@.service network.target network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=root
|
|
ExecStart=/usr/bin/python /opt/create_bridge.py
|
|
RemainAfterExit=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|