Skip to content

Commit 8ec8f73

Browse files
authored
Merge pull request #1582 from ekohl/ensure-datadir-is-mounted
Use RequiresMountsFor on datadir
2 parents a04ab92 + 56dc1d5 commit 8ec8f73

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/systemd-override.conf.epp

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
Stdlib::Absolutepath $datadir,
44
Optional[String[1]] $extra_systemd_config,
55
| -%>
6+
[Unit]
7+
RequiresMountsFor=<%= $datadir %>
8+
69
[Service]
710
Environment=PGPORT=<%= $port %>
811
<%- if $facts['os']['family'] == 'Gentoo' { -%>

0 commit comments

Comments
 (0)