/lib/systemd/system/pgpool2.service is in pgpool2 3.4.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | [Unit]
Description=pgpool-II
Documentation=man:pgpool(8)
Wants=postgresql.service
[Service]
User=postgres
ExecStart=/usr/sbin/pgpool -n
ExecReload=/bin/kill -HUP $MAINPID
StandardOutput=syslog
SyslogFacility=local0
[Install]
WantedBy=multi-user.target
|