Use network-online.target instead of network.target in the systemd service file

Bug #2057657 reported by Gea-Suan Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
smokeping (Ubuntu)
New
Undecided
Unassigned

Bug Description

Currently in /lib/systemd/system/smokeping.service:

```
After=network.target
```

But smokeping requires network is actually up to query hostname via DNS. A better improvement is:

```
After=network-online.target
Wants=network-online.target
```

Reference: https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.