Yolanda Robla Mota 26239b94c6 Add wants setting for network-online.target
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
2016-09-12 11:59:56 +02:00

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