1
00:00:00,000 --> 00:00:10,480
Alright, now that we are at the end of this lesson, let's do a lab. This time the lab

2
00:00:10,480 --> 00:00:15,740
is a little bit challenging. So we are going to work with systemd dependencies. And you

3
00:00:15,740 --> 00:00:20,719
are going to create a systemd configuration that matches the following. You need a custom

4
00:00:20,719 --> 00:00:26,920
service that starts a sleep600 command. And it will do it once. Also create a connected

5
00:00:26,920 --> 00:00:31,480
configuration that triggers this service to start when a file with the name tmp-checkfile

6
00:00:31,480 --> 00:00:37,599
is started. And notice that the service does not start automatically. The path unit should

7
00:00:37,599 --> 00:00:44,000
take care of starting it when it is required. So the idea is that when the tmp-checkfile

8
00:00:44,000 --> 00:00:48,040
is created, the service will be started. Good luck with that.

