systemd timing

Karl Auer kauer at biplane.com.au
Sat Jul 15 11:04:29 UTC 2017


How can I make a systemd service run after all network interfaces are
up?

systemd-sysctl is a one-shot service that runs very early in the
startup sequence; I need it to run again. Ideally every time a network
interface comes up, but a workable solution would be after the network
is up the first time.

Note that I need it to run *again* - i.e., as well as the first time.

I suppose I could set up a new service to do this, but it would be
cleaner if there were a way to tell the existing service to run again.

Regards, K.

[1] /lib/systemd/system/systemd-sysctl.service

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: A52E F6B9 708B 51C4 85E6 1634 0571 ADF9 3C1C 6A3A
Old fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B






More information about the ubuntu-users mailing list