1[Unit]
2Description=Pgpool-II
3After=syslog.target network.target
4
5[Service]
6
7User=postgres
8Group=postgres
9
10EnvironmentFile=-/etc/sysconfig/pgpool
11
12ExecStart=/usr/bin/pgpool -f /etc/pgpool-II/pgpool.conf $OPTS
13ExecStop=/usr/bin/pgpool -f /etc/pgpool-II/pgpool.conf $STOP_OPTS stop
14ExecReload=/usr/bin/pgpool -f /etc/pgpool-II/pgpool.conf reload
15
16[Install]
17WantedBy=multi-user.target
18