Commit 70a576d
committed
ezbake: Introduce service-port variable
This adds a bit of a startup delay to ensure that systemd not just
starts the process and thinks the service is already up and running.
Previously this was handled by the wrapper script and Type=forking. This
commit fixes a regression from OpenVoxProject@b2de7c7
This also requires changes to the projects to provide the actual port.
* OpenVoxProject/openvox-server#80
* OpenVoxProject/openvoxdb#69
This is just a workaround and not a perfect solution. For systemd-based
systemd we should implement sd_notify and switch to Type=notify-reload.
https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html#Type=1 parent 86b1177 commit 70a576d
File tree
4 files changed
+8
-0
lines changed- resources/puppetlabs/lein-ezbake
- staging-templates
- template/global/ext/redhat
- src/puppetlabs/ezbake
- test/unit/puppetlabs/ezbake
4 files changed
+8
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
66 | 70 | | |
67 | 71 | | |
68 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
608 | 609 | | |
609 | 610 | | |
610 | 611 | | |
| 612 | + | |
611 | 613 | | |
612 | 614 | | |
613 | 615 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments