Change systemctl to service command.
This commit is contained in:
parent
c5635e86fa
commit
6ccb239886
|
|
@ -89,7 +89,7 @@ done
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
|
||||||
#restart postgres
|
#restart postgres
|
||||||
systemctl restart postgresql
|
service postgresql restart
|
||||||
|
|
||||||
#set the working directory
|
#set the working directory
|
||||||
cwd=$(pwd)
|
cwd=$(pwd)
|
||||||
Loading…
Reference in New Issue