#1 Wait for network-online and restart on failure
Merged a year ago by hubbitus. Opened a year ago by noda.
rpms/ noda/darkstat rhbz-1517485  into  master

file modified
+2 -1

@@ -1,11 +1,12 @@ 

  [Unit]

  Description=Network traffic analyzer

- After=syslog.target network.target

+ After=syslog.target network-online.target

  

  [Service]

  Type=forking

  EnvironmentFile=-/etc/sysconfig/darkstat

  ExecStart=/usr/sbin/darkstat $OPTIONS

+ Restart=always

  

  [Install]

  WantedBy=multi-user.target

Darkstat won’t start if the network isn’t online. Likewise, it will stop if it goes offline or the system goes to sleep.
Restart and wait for network-online.target.

Resolves: rhbz#1517485

Commit c1b0706 fixes this pull-request

Pull-Request has been merged by hubbitus

a year ago

Pull-Request has been merged by hubbitus

a year ago