]>
Commit | Line | Data |
---|---|---|
1 | [Unit] | |
2 | Description=PostgreSQL database server at %f | |
3 | PartOf=postgresql.target postgresql.service | |
4 | ReloadPropagatedFrom=postgresql.service | |
5 | ||
6 | [Service] | |
7 | Type=forking | |
8 | User=postgres | |
9 | ExecStart=/usr/bin/pg_ctl -D %f start -w -s | |
10 | ExecStop=/usr/bin/pg_ctl -D %f stop -w -s -m fast | |
11 | ExecReload=/usr/bin/pg_ctl -D %f reload -w -s | |
12 | PIDFile=%f/postmaster.pid | |
13 | ||
14 | [Install] | |
15 | RequiredBy=postgresql.target |