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