File: pgcluu.service

package info (click to toggle)
pgcluu 4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,332 kB
  • sloc: javascript: 24,645; perl: 24,092; makefile: 14; sh: 14
file content (23 lines) | stat: -rw-r--r-- 557 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Feel free to modify the name of the PostgreSQL service following
# your installation.
#
# For more info about custom unit files, see
# http://fedoraproject.org/wiki/Systemd#How_do_I_customize_a_unit_file.2F_add_a_custom_unit_file.3F



[Unit]
Description=Postgresql performance and auditing reporting
Documentation=man:pgcluu(1)


[Service]
PermissionsStartOnly=true
User=postgres
Environment=STATDIR=/var/lib/pgcluu/data
Environment=REPORTDIR=/var/lib/pgcluu/report
ExecStart=/usr/bin/pgcluu -o $REPORTDIR $STATDIR

[Install]
WantedBy=multi-user.target