File: pgbackrest.service

package info (click to toggle)
pgbackrest 2.45-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 49,372 kB
  • sloc: ansic: 104,454; perl: 22,386; xml: 16,649; sh: 3,578; pascal: 2,613; makefile: 262; sql: 32
file content (18 lines) | stat: -rw-r--r-- 346 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=pgBackRest Server
After=network.target
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
RestartSec=1
User=postgres
Group=postgres
ExecStart=/usr/bin/pgbackrest server
ExecStartPost=/bin/sleep 3
ExecStartPost=/bin/bash -c "[ ! -z $MAINPID ]"
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target