Commit 7a30df7
committed
Don't template systemd dependencies
In systemd unit files, After= only affects ordering and can reference
units that don't exist or exist but are not enabled, so there is no
reason to use templating.
In the appliance use case we will need the agent image that is installed
to disk to contain systemd units that work for either installing or
adding a node (when the appropriate config is added), so both units must
have the correct ordering.1 parent 8c792a9 commit 7a30df7
File tree
3 files changed
+2
-6
lines changed- data/data/agent/systemd/units
- pkg/asset/agent/image
3 files changed
+2
-6
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
| |||
256 | 255 | | |
257 | 256 | | |
258 | 257 | | |
259 | | - | |
260 | 258 | | |
261 | 259 | | |
262 | 260 | | |
| |||
374 | 372 | | |
375 | 373 | | |
376 | 374 | | |
377 | | - | |
378 | 375 | | |
379 | 376 | | |
380 | 377 | | |
| |||
393 | 390 | | |
394 | 391 | | |
395 | 392 | | |
396 | | - | |
397 | 393 | | |
398 | 394 | | |
399 | 395 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
0 commit comments