| Server IP : 193.86.120.172 / Your IP : 216.73.216.67 Web Server : Apache/2.4.63 (Unix) System : Linux JServices 3.10.108 #86003 SMP Wed Oct 22 13:20:46 CST 2025 x86_64 User : kubec ( 1026) PHP Version : 8.2.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/systemd/system/ |
Upload File : |
[Unit]
Description=PostgreSQL database server
DefaultDependencies=no
IgnoreOnIsolate=yes
[Service]
Type=notify
User=postgres
Group=postgres
Environment=PGDATA=/var/services/pgsql
ExecStart=/usr/bin/postgres -D ${PGDATA}
ExecStop=/usr/lib/systemd/scripts/pgsql.sh stop-pgsql $MAINPID
ExecReload=/usr/bin/pg_ctl -s -D ${PGDATA} reload
KillMode=none
Restart=always
Slice=syno_dsm_internal.slice
# Disable OOM kill on the postmaster
OOMScoreAdjust=-1000
Environment=PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj
Environment=PG_OOM_ADJUST_VALUE=0
# Do not set any timeout value, so that systemd will not kill postmaster
# during crash recovery.
TimeoutStartSec=0
TimeoutStopSec=130s
# Where to send early-startup messages from the server (before the logging
# options of postgresql.conf take effect)
# This is normally controlled by the global default set by systemd
StandardOutput=syslog
StandardError=syslog
SyslogLevel=err
[X-Synology]
Master=pgsql-adapter.service
NameI18n=helptoc:system_database