I am on coreos-vagrant and try to figure out how to use systemd notifications to activate services. To do so, I run a simple service file, that calls a bash script. The bash script just calls `systemd-notify`, but a single call is not enough. To ensure the service activation I need to call `systemd-notify` multiple times. Am I doing something wrong or is that expected behaviour? Imagine having the following files, `systemd-notify` needs to be called 3 times.
Apr 09 12:52:08 core-01 systemd[1]: Starting Foo Service...
Apr 09 12:52:08 core-01 bash[32151]: started foo
Apr 09 12:52:09 core-01 bash[32151]: notified systemd
Apr 09 12:52:09 core-01 bash[32151]: UNIT LOAD ACTIVE SUB DESC MACHINE
Apr 09 12:52:09 core-01 bash[32151]: foo.service loaded activating start Foo Service 4cf1102d.../
172.17.42.1Apr 09 12:52:10 core-01 systemd[1]: Started Foo Service.
Apr 09 12:52:10 core-01 bash[32151]: notified systemd
Apr 09 12:52:10 core-01 bash[32151]: UNIT LOAD ACTIVE SUB DESC MACHINE
Apr 09 12:52:10 core-01 bash[32151]: foo.service loaded activating start Foo Service 4cf1102d.../
172.17.42.1Apr 09 12:52:11 core-01 bash[32151]: notified systemd
Apr 09 12:52:11 core-01 bash[32151]: UNIT LOAD ACTIVE SUB DESC MACHINE
Apr 09 12:52:11 core-01 bash[32151]: foo.service loaded active running Foo Service 4cf1102d.../
172.17.42.1