This unit is provided by:
Options
-
[Install]
-
WantedBy=multi-user.target cfengine3.service
-
-
[Service]
-
Environment=PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/cfengine/state/pg/data
-
ExecReload=/usr/bin/pg_ctl -w -D ${PGDATA} -l /var/log/postgresql.log reload -m fast
-
ExecStart=/usr/bin/pg_ctl -w -D ${PGDATA} -l /var/log/postgresql.log start
-
ExecStop=/usr/bin/pg_ctl -w -D ${PGDATA} -l /var/log/postgresql.log stop -m fast
-
OOMScoreAdjust=-1000
-
PIDFile=/var/cfengine/state/pg/data/postmaster.pid
-
PrivateDevices
Introduced in systemd 209=yes -
ProtectClock
Introduced in systemd 245=yes -
ProtectControlGroups
Introduced in systemd 232=yes -
ProtectHome
Introduced in systemd 214=yes -
ProtectHostname
Introduced in systemd 242=yes -
ProtectKernelLogs
Introduced in systemd 244=yes -
ProtectKernelModules
Introduced in systemd 232=yes -
ProtectKernelTunables
Introduced in systemd 232=yes -
ProtectSystem
Introduced in systemd 214=full -
Restart=always
-
RestartSec=10
-
RestrictRealtime
Introduced in systemd 231=yes -
SyslogIdentifier=postgres
-
Type=forking
-
User=cfpostgres
-
WorkingDirectory=/tmp
-
-
[Unit]
-
After=syslog.target
-
ConditionPathExists=/usr/bin/pg_ctl
-
Description=CFEngine Enterprise PostgreSQL Database
-
PartOf=cfengine3.service
-
Additionnal notes
Nothing here.