This unit is provided by:
Options
-
[Install]
-
WantedBy=multi-user.target
-
-
[Service]
-
Environment=STATDIR=/var/lib/pgcluu/data PIDFILE=/run/postgresql/pgcluu_collectd.pid
-
ExecStart=/usr/bin/pgcluu_collectd --daemonize --rotate-daily --pid-file $PIDFILE $STATDIR
-
ExecStartPre=-/bin/mkdir -p $STATDIR -/bin/chown postgres:www-data $STATDIR -/bin/chmod u=rwX,g=rsX,o= $STATDIR
-
ExecStop=/usr/bin/pgcluu_collectd -k --pid-file $PIDFILE
-
KillMode=process
-
PIDFile=/run/postgresql/pgcluu_collectd.pid
-
PermissionsStartOnly=yes
-
Restart=on-failure
-
RestartSec=60s
-
Type=forking
-
User=postgres
-
-
[Unit]
-
After=postgresql.service
-
Description=Postgresql performance and auditing statistics collecting
-
Documentation=man:pgcluu(1)
-
Wants=postgresql.service
-
Additionnal notes
Nothing here.