module-postgresql/templates/systemd-override.erb
Ryan Armstrong f929cadd9c (MODULES-2211) Fixed systemd-override for RedHat systems with unmanaged Yum repos
This change lets the params class compute the name of the correct systemd unit file
via $service_name.
2015-07-29 16:53:00 +08:00

4 lines
135 B
Text

.include /lib/systemd/system/<%= @service_name %>.service
[Service]
Environment=PGPORT=<%= @port %>
Environment=PGDATA=<%= @datadir %>