# Delay startup of services (Linux)

**URL:** <https://community.wowza.com/t/delay-startup-of-services-linux/93018>\
**Category:** Community\
**Created:** [March 19, 2021, 5:13pm UTC](https://community.wowza.com/t/delay-startup-of-services-linux/93018 "2021-03-19T17:13:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Sieminski](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@John\_Sieminski](https://community.wowza.com/u/John_Sieminski)\
**Post date:** [March 19, 2021, 5:13pm UTC](https://community.wowza.com/t/delay-startup-of-services-linux/93018/1 "2021-03-19T17:13:26Z")

</div>

They have a troubleshooting tip on how to delay the startup of the Wowza service on a Mac install. Can anyone share where to make this change on a linux install?

[https://www.wowza.com/docs/how-to-troubleshoot-wowza-streaming-engine-installation](https://www.wowza.com/docs/how-to-troubleshoot-wowza-streaming-engine-installation) (at the bottom)

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [March 19, 2021, 6:54pm UTC](https://community.wowza.com/t/delay-startup-of-services-linux/93018/2 "2021-03-19T18:54:14Z")

</div>

In Linux the Wowza Streaming Engine and the Wowza Streaming Engine Manager are set up as systemd services. You can use systemd Timers if you want delay the start of a service; I found a pretty decent description here: [https://wiki.archlinux.org/index.php/Systemd/Timers](https://wiki.archlinux.org/index.php/Systemd/Timers)

However, if the reason for delay is that you’re waiting for another service to be running, you can use State Dependencies in systemd.

---

<div class="post-metadata">

**Author:** ![John\_Sieminski](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@John\_Sieminski](https://community.wowza.com/u/John_Sieminski)\
**Post date:** [March 19, 2021, 8:15pm UTC](https://community.wowza.com/t/delay-startup-of-services-linux/93018/3 "2021-03-19T20:15:53Z")

</div>

Thanks for the post. I will give it a read. It already has a depends on the network, but the network isn’t actually up even thought the service is up.

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [March 21, 2021, 11:13am UTC](https://community.wowza.com/t/delay-startup-of-services-linux/93018/4 "2021-03-21T11:13:32Z")

</div>

Make sure to use the `network-online.target` and not the `network.target` because the latter only checks if network is available while the former checks if network is up.

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

```
