projects
/
pgpool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b189f7
)
Adding the missing ExecStop and ExecReload commands to the systemd
author
Muhammad Usama
<m.usama@gmail.com>
Mon, 6 Feb 2017 14:41:31 +0000
(19:41 +0500)
committer
Muhammad Usama
<m.usama@gmail.com>
Mon, 6 Feb 2017 14:41:31 +0000
(19:41 +0500)
service configuration file.
The patch was contributed by supp_k and enhanced by me.
src/redhat/pgpool.service
patch
|
blob
|
blame
|
history
diff --git
a/src/redhat/pgpool.service
b/src/redhat/pgpool.service
index 44ba8414c926e8f351e8339c5d4ab889f38e2487..21819315ec2305d551c1e98686ece166d77492b6 100644
(file)
--- a/
src/redhat/pgpool.service
+++ b/
src/redhat/pgpool.service
@@
-1,10
+1,15
@@
[Unit]
-Description=
p
gpool-II
+Description=
P
gpool-II
After=syslog.target network.target
[Service]
+Type=forking
+
EnvironmentFile=-/etc/sysconfig/pgpool
+
ExecStart=/usr/bin/pgpool -f /etc/pgpool-II/pgpool.conf $OPTS
+ExecStop=/usr/bin/pgpool -f /etc/pgpool-II/pgpool.conf stop
+ExecReload=/usr/bin/pgpool -f /etc/pgpool-II/pgpool.conf reload
[Install]
WantedBy=multi-user.target